flat assembler
Message board for the users of flat assembler.
Index
> Windows > List View Control |
Author |
|
Nikolay Petrov 26 May 2005, 21:38
Torrey I don't understand what you want. If you want to find a procs or macros to assemble list view control - it' s will be easy - has to many information from the net, but if you want someone create this for your program is need more info...
|
|||
26 May 2005, 21:38 |
|
Torrey 27 May 2005, 04:56
Nickolay wrote: Torrey I don't understand what you want. If you want to find a procs or macros to assemble list view control - it' s will be easy - has to many information from the net, but if you want someone create this for your program is need more info... With coding for the List View control is a lot of repetitve coding, so if anyone had already coded a few procs to handle calls for the list view it would have helped out a little bit. Although I think very few coders around here have used this with asm. More then likely I'll be writing my own procs. Possibly to share when finished too. [edit] MSVC++ comes with macros for use with this control. So what I started to do is create a DLL with MSVC++ and just importing the functions I need to. Once I complete the project I will post the List View DLL for you all. |
|||
27 May 2005, 04:56 |
|
Torrey 28 May 2005, 01:37
Contained in the zip below is the List View control DLL, and I created a help file to go along with it.
A quick note about the control, remember that after you create your window or dialog, to issue a call to the _List_Create@20 so that the List View will be created. The help file will tell you which arguments each function takes.
|
|||||||||||
28 May 2005, 01:37 |
|
Torrey 31 May 2005, 09:47
Above you'll find I replaced the old zip with a new one. The new one has an updated help file, and the api's have been fixed so they aren't decorated.
|
|||
31 May 2005, 09:47 |
|
coconut 31 May 2005, 15:32
nice work torrey, thanks for sharing
|
|||
31 May 2005, 15:32 |
|
Madis731 31 May 2005, 19:18
Ok, I tryed it and the calls to the DLL worked, but I can't seem to get the hang of it what does it want from me.
Should I create a dialog box to paint it on or should it make its own window (the help says something about x,y,width,height)? Maybe its drawn on some bitmap or does it require a clean modal window and a handle to the listview or the other way round. I'm so confused right now! Time to sleep... |
|||
31 May 2005, 19:18 |
|
Torrey 31 May 2005, 19:31
This control needs you to have a window or dialog created first. Afterwards you would issue a function call similar to the one below.
Code: invoke List_Create,[hwnd],[x],[y],[nWidth],[nHeight] mov [LVhWnd],eax X & Y are the coordinates on the window you created that you would like the top left corner of the list view control to be. nWidth & nHeight are the size of the list view. After you create the list view on the window and need to make further calls to the list view control remember to use the handle that List_Create returned back to you. |
|||
31 May 2005, 19:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.