| View previous topic :: View next topic |
| Author |
Message |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2150 Location: A House
|
Posted: Thu Dec 05, 2002 11:27 pm Post subject: |
|
|
| Mac wrote: | Hey Garrett,
[snip]
I'm beginning to see why NOTITLE (and non-resizable) skinnable
windows would be a lot easier though. Would window text be the
the only problem left then?
|
Yeah, if going skin, then TEXT would be the only thing left to worry
about. When skinning, I usually only use TEXT from VDS.. I won't
add BUTTON or anything else.. No GROUP either.
| Mac wrote: |
_____________________________________________________________
Hey Hortalonus,
You're welcome. I'm not sure if the TRANSPARENT style is even
in the VDS3 help file - there's several things that arent...
BTW, I think you'll find that most of us don't use the Dialog
Designer. It's kinda like training wheels - good if ya really
need 'em, but at a certain point they begin to hinder your
progress. LOL, that's my opinion anyway.
Cheers, Mac  |
Ehhhhh..... Ok, I do still use the Dialog designer a lot. But initially
to just layout the gui. After that, it's all by source code to adjust
and such. Call me lazy or spoiled.. Not sure which.
-Garrett |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Dec 05, 2002 11:34 pm Post subject: |
|
|
Lol, prolly both...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Dec 06, 2002 12:51 am Post subject: |
|
|
OK - looks like a status bar stays the same height as the
title bar when settings are changed.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2150 Location: A House
|
Posted: Fri Dec 06, 2002 3:53 am Post subject: |
|
|
That's good to know. I normally don't use the status element myself,
which is why I didn't bother checking for it in the source code. I make
my own status bars using GROUP and TEXT, or if a skinned interface,
then it's part of the bmp.
-Garrett |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Dec 08, 2002 3:05 pm Post subject: |
|
|
Hey Garrett,
I found out the status bar isn't exactly the size of the title
bar, but it's based on it.
Here's what I have so far. I think it's finished, but it needs
some more testing, and I have no idea what it does on a
different OS. I'll try to post some examples with it later
and maybe we can get a few folks to test it on different
systems.
____________________________________________________________________________________________
| Code: |
:GetWindowSpecs
rem -- Titlebar/status bar/menu height and side/bottom border width --
%c = "TempWindowToGetWindowSpecs"
rem -- Normal and RESIZABLE have different title heights --
if %%resize
DIALOG CREATE, "GetWindowSpecs",-1,0,200,200,RESIZABLE,CLASS %c
else
DIALOG CREATE, "GetWindowSpecs",-1,0,200,200,CLASS %c
end
%%b_lside = @div(@diff(@winpos(#%c,W),200), 2)
%%b_rside = @pred(%%b_lside)
%%b_lside = @succ(%%b_lside)
%%b_bottom = %%b_rside
%%t_height = @diff(@diff(@winpos(#%c,H),200),%%b_bottom)
%%sb_height = @diff(%%t_height, @succ(%%b_bottom))
DIALOG ADD,MENU,MenuTest
%%m_height = @diff(@winpos(#%c,H),@sum(200,%%t_height,%%b_bottom))
DIALOG CLOSE
%c = @event()
%c = ""
exit
|
[EDIT] Quite a few changes - am on my way to post a test example.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|