News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Tab

Started by vadiu, February 06, 2005, 03:06:52 PM

Previous topic - Next topic

vadiu

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

petezl

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.
Cats and women do as they please
Dogs and men should realise it.

vadiu

I`m sorry if I didnt explain it well. I was talking about the tab control. Thanks anyway..

petezl

There was an excellent example of a TAB control on the old ASMCommunity site but can't remember the details now...
Peter.
Cats and women do as they please
Dogs and men should realise it.

petezl

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.
Cats and women do as they please
Dogs and men should realise it.

vadiu

Thanks petezl. I`ll keep looking, anyway.

pbrennick

vadiu .
Attached is a Tab Control project.

Paul


[attachment deleted by admin]