|Assembly and Child window
|Page 1 of 1|
|Author:||BackupUser [ Thu Jan 03, 2002 10:52 am ]|
Restored from previous forum. Originally posted by Danilo.
I want to make a child window in the
main window, but the child window
should have its own Window-Procedure.
How is this possible ??
I think i can register a new class
with its own Window-Procedure, and
open a window with that class.
But iÂ´m not sure if i can make this
Window a child window in a Purebasic
Hope you understood
I need a childwindow (Toolbar for example,
so its class "ToolbarWindow32"), but with
its own Window-Procedure (own thread?) to
manage WM_SIZE etc. without user-input.
( /me is away.... cya tomorrow m8z )
Edited by - Danilo on 03 January 2002 10:53:49
|Author:||BackupUser [ Thu Jan 03, 2002 3:54 pm ]|
Restored from previous forum. Originally posted by El_Choni.
You now I'm no API guru, but I think this is called window subclassing, or superclassing, or nothing. What matters is that this is achieved by using SetClassLong, as far as I know.
Don't think this helped you too much... bye,
|Author:||BackupUser [ Thu Jan 03, 2002 6:35 pm ]|
Restored from previous forum. Originally posted by fred.
I don't think you can change the WindowProcedure of a Windows registered class (like Button, ToolBar etc..). Try with SetWindowLong()...
Fred - AlphaSND
|Author:||BackupUser [ Tue Jan 08, 2002 8:46 pm ]|
Restored from previous forum. Originally posted by preacher.
In case you haven't allready tried. This should work, atleast it did in VB.
;I guess the reversed params is because how Purebasic passes procedure ;parameters.
|Page 1 of 1||All times are UTC + 1 hour|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group