Page 1 of 1

[Implemented] Extend Gadgets

Posted: Wed Feb 06, 2002 8:26 am
by BackupUser
Restored from previous forum. Originally posted by Rings.

Some points when creating gadgets is the style of the gadget.
For example if you want a multiline Textgadget, you have to use Get- and Setwindowslong (windows-Api) or SendMessage after the creation.It would be easier to change the typical gadgetinformation with one PureBasicCall(and easier to convert to other OS's).

for example-> Multiline Textgadget (With or without sliders)
or rightalign Text in a ButtonGadget or etc......

Getting better with a little help from my friends....thx Siggi

Posted: Wed Feb 06, 2002 10:13 am
by BackupUser
Restored from previous forum. Originally posted by PB.

> For example if you want a multiline Textgadget, you have to use Get- and
> Setwindowslong (windows-Api) or SendMessage after the creation.

Can you please show me how to do this?


PB - Registered PureBasic Coder

Posted: Wed Feb 06, 2002 3:24 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
> For example if you want a multiline Textgadget, you have to use Get- and
> Setwindowslong (windows-Api) or SendMessage after the creation.

Can you please show me how to do this?
i tried it, but failed.And nobody replied any reason why.Look at
the Tips&Tricks section for 'GetItemCount in a Listbox' .
And i have never tried it again.Perhaps it can be a bug, coz in vb it is possible (Or perhaps i'm a dammed lame code ) .


Getting better with a little help from my friends....thx Siggi