News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Help with set controls' property at runtime

Started by Diamond Star, October 20, 2013, 08:59:52 AM

Previous topic - Next topic

Diamond Star

I'm neocommer here
I have started recently learning Assembly where I was VB.NET programmer
so, I find things hard a but.
And now, I need tutorials on how to control some controls like
listbox, listview and controls that have items
eg: How to add items ,remove items, get select index(es).
this things seems easy for you but not for me
so, please help

hutch--

If you have not got it yet, download the MASM32 SDK at the link above (top right corner) and make sure you install it properly. Once you have this done, it has example code for setting up and running the older style of controls and there are also members here who can help you once you get it set up.

K_F

'SendMessage' is your favourite function coupled with the listbox/view/ect/ handle.
I think in .Net everything is an object referred to by a 'name'.

In assembler objects are handles (either a 32/64 'number), usually beginning with 'h' (eg: hWnd = current window handle)
You 'send messages' to the handles/objects (equivalent to a function 'or procedure') to change attributes of the object, or execute functions.. etc
WinAPI is your friend here!

google... Iczelion Win32, winapi

Iczelion is the 'de facto' intro to Asm32/64 windows programming - lots of good stuff in these tuts
WinApi is the 1000's of windows application interface (API) functions that you'll use ... lot's of people can help you here

Welcome to the real world.. be prepared for demonising from the script kiddies of VB/Java/C/C++ /etc worlds  :icon_mrgreen:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

Diamond Star