|
-
Sep 17th, 2000, 10:51 AM
#1
Thread Starter
Frenzied Member
I am making an app without using MFC (a simple win32 application);I don't have a recources tab and i can not add a button or edit control. How can i add those ,and declare variables for them(where to declare them);
-
Sep 17th, 2000, 10:55 AM
#2
Monday Morning Lunatic
Go File->New and choose "Resource Script". Make sure that you add it to the current project. Close the child window that appears, then click the new Resource tab.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 17th, 2000, 11:20 AM
#3
Use the CreateWindowEx() function to create windows.
Code:
HWND bWnd;
bWnd = CreateWindowEx(NULL, "Button1", "Button1", WS_CHILD, 0, 0, 64, 64, hWnd, NULL, hInst, NULL);
ShowWindow(bWnd, 1);
UpdateWindow(hWnd);
-
Sep 17th, 2000, 11:21 AM
#4
Monday Morning Lunatic
Vlatko - I've emailed you an example project.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 17th, 2000, 12:42 PM
#5
Thread Starter
Frenzied Member
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
|