|
-
April 23rd, 2008, 01:29 PM
#1
treeview add nodes
hey, im learning win api, and im trying to add nodes to a treeview....this is what i have so. I have found a couple of sites that show how this is done, but I can't ever get them implemented without just out right taking the whole thing and adding it to my code. Any ideas thanks. Along with this, I was hoping someone could lead me to the equivalent of c# .net framework:
1. how to maximize/minimize with button click
2. panels
3. docking
4. how to get rid of the top bar that the window title and close, maximize, and minimize, sit on.
Code:
int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
MSG msg;
HWND myDialog = CreateWindowEx(0,
WC_DIALOG,
NULL,
WS_BORDER | WS_VISIBLE,
0,
0,
721,
344,
NULL,
NULL,
NULL,
NULL);
//__________________________________________________
CreateWindowEx(0,
WC_TREEVIEW,
0,
WS_CHILD | WS_VISIBLE,
4,
29,
169,
197,
myDialog,
(HMENU)libTree_id,
NULL,
NULL);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|