AdvancedGadgetEvents() does not exist ?

Just starting out? Need help? Post your questions and find answers here.
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

hey, why not simply add a optional flag, so everybody is happy. :idea:

for example:

Code: Select all

#PB_NoSize = 1
#PB_NoMove = 2
#PB_ScreenCentered = 4

ResizeWindow(#Window, x, y, Width, Height [, Flags])
fred what do you think?

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> #CW_USEDEFAULT

That constant is used when creating windows only, according to MSDN:
http://tinyurl.com/6g8gv
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

That's a good idea, nco2k. (The user defined value). Hope it is possible!
@}--`--,-- A rose by any other name ..
Post Reply