The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: vadiu on February 06, 2005, 03:06:52 PM

Title: Tab
Post by: vadiu on February 06, 2005, 03:06:52 PM
I`m beggining to do a new project and I don`t have great experience in doing dialog boxes and those graphical things with asm. Does someone knows where I can read some good code which builds tabs without relying on resources? I would be grateful. Thanks...  :U
Title: Re: Tab
Post by: petezl on February 06, 2005, 04:29:50 PM
If your talking about using the TAB key with dialogs then there is nothing to do. The windows Dialog handler automatically does it for you.. Just SetFocus to the first control you want to use and thats it.
Peter.
Title: Re: Tab
Post by: vadiu on February 06, 2005, 04:33:26 PM
I`m sorry if I didnt explain it well. I was talking about the tab control. Thanks anyway..
Title: Re: Tab
Post by: petezl on February 06, 2005, 07:42:19 PM
There was an excellent example of a TAB control on the old ASMCommunity site but can't remember the details now...
Peter.
Title: Re: Tab
Post by: petezl on February 08, 2005, 01:15:13 AM
vadiu,  Sorry, I've had a look but can't locate the code. Basically it is achieved by ceating the number of tab dialogs you want, in a resource file, the first being the main background dialog, the rest being  the child ones. The TAB control uses a structure. If I refind it I'll post it here.
Peter.
Title: Re: Tab
Post by: vadiu on February 08, 2005, 11:39:25 AM
Thanks petezl. I`ll keep looking, anyway.
Title: Re: Tab
Post by: pbrennick on February 11, 2005, 02:03:18 AM
vadiu .
Attached is a Tab Control project.

Paul


[attachment deleted by admin]