The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: RHL on May 15, 2012, 02:00:15 AM

Title: How to make a Down-up control
Post by: RHL on May 15, 2012, 02:00:15 AM
Hello guys, well, i want to know how to make a down-up control, in the grid i do not find nothing
I want to make with CreateWindowEx function, could help me please :)

I found a example, which it did with a textbox :P  I thought that it was a only control :P any word thanks a lot  :toothy
Title: Re: How to make a Down-up control
Post by: dedndave on May 15, 2012, 02:56:56 AM
szUpDownClass db 'msctls_updown32',0
Title: Re: How to make a Down-up control
Post by: RHL on May 15, 2012, 03:18:00 AM
Quote from: dedndave on May 15, 2012, 02:56:56 AM
szUpDownClass db 'msctls_updown32',0
thanks u Dave :) a question :P
then - to make a up-down control should have to make a textbox + the above class ( msctls_updown32 )
I thought it was a single control :P
Title: Re: How to make a Down-up control
Post by: dedndave on May 15, 2012, 03:34:46 AM
well - you may want to use an up-down control for different things
so - they make it a seperate control

you can create an edit control and an up-down control
use the edit control as the "buddy"

Title: Re: How to make a Down-up control
Post by: RHL on May 15, 2012, 03:40:19 AM
ok,  :U thanks u dave
I thought it was a single control  :P lol