How to Get a Handle for Buttons

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

I know a lazy question, but i need some hwnd's (Handles) not
just to Windows, but also to buttons/Images or other gadgets.
How to get them ?



Siggi
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.
I know a lazy question, but i need some hwnd's (Handles) not
just to Windows, but also to buttons/Images or other gadgets.
How to get them ?



Siggi
Possible by :

handle=ButtonGadget(#num,x,y,width,height,txt$)


???

Mike

Tranquilizer/ Secretly!
Registred PureBasic User
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.
Possible by :
handle=ButtonGadget(#num,x,y,width,height,txt$)
???
Yes this works!



Have a nice day...
Franco
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

thx

Siggi
Post Reply