### Author Topic: TabControl Help  (Read 189 times)

#### Ding

• Regular Member
• Posts: 20
##### TabControl Help
« on: June 01, 2020, 10:20:03 PM »
Hello guys, I hope you are all having a great time.

It's been 2 weeks and am still struggling with TabControl , I couldn't understand how it works.

I've found an example on Iczelion's website written by Latigo , I tried to follow the exact same steps in RadASM and I failed.
Can someone briefly explains the steps required to produce a working TabControl.
I see alot of tutorials that talks about TabControl uses other dialogboxes templates, In my case I don't want to do that , I just want tab control with 2 tabs Inside each tab there will be a ListView. (using RadASM)
What's wrong with the example below ?

#### Ding

• Regular Member
• Posts: 20
##### Re: TabControl Help
« Reply #1 on: June 04, 2020, 03:27:11 AM »
Example attached , not perfect because It starts flickering when resizing the window but it works at least.
By the way how can I get rid of the dialog saying (Accept the command which appear every single time I compile or run the application) even though I've chosen the option saying "Don't ask again" !
another thing ... when adding "XP manifest" , why we use 1 24 respectively I searched in the documentation without finding any reference to these numbers ?

#### jj2007

• Member
• Posts: 10445
• Assembler is fun ;-)
##### Re: TabControl Help
« Reply #2 on: June 04, 2020, 03:40:52 AM »
when adding "XP manifest" , why we use 1 24 respectively I searched in the documentation without finding any reference to these numbers ?

Have a look at RT_MANIFEST in \Masm32\include\RESOURCE.H

#### Ding

• Regular Member
• Posts: 20
##### Re: TabControl Help
« Reply #3 on: June 04, 2020, 04:41:00 AM »
Ah! so it refers to the manifest resource type. Thanks jj for clarifying things