aneird
November 12th, 2007, 11:55 PM
i want to create a tab in a window, then insert 2 itews.
i do not know how to do.
i do not know how to do.
|
Click to See Complete Forum and Search --> : how to use "SysTabControl32"?Please give a simple source code! aneird November 12th, 2007, 11:55 PM i want to create a tab in a window, then insert 2 itews. i do not know how to do. JohnCz November 13th, 2007, 11:25 PM Create main application window and then create tab window as a visible child of the main window. You can do it right after main window creation or handling WM_CREATE. Tab control class is defined as WC_TABCONTROL. Do not forget to handle WM_SIZE message to resize tab window. jesschen November 14th, 2007, 05:18 PM i have a sample in the zip file... enjoy... i have questions about "list box". this is the "help" in my menu of project. i want to select the item in the list box, then click "display" button, and wish it can popup a MessageBox....how to do that? do you know? JohnCz November 14th, 2007, 06:37 PM i have a sample in the zip file... enjoy.Either I am missing something or you did. Your zip contains two resource script files (one empty) and a header. Where is your project? jesschen November 16th, 2007, 05:10 PM oh....it is my bad. i missed something. so .. here is the code. JohnCz November 16th, 2007, 06:33 PM Well, I am sorry but you have missed it again. Is it supposed to be VS project? It looks like but vital files are still missing: project (.dsp) and workspace files to start with. testOfWin32Dialog is still 0 length and some of the constants used in a cpp file are not defined. Download both attachments and try to build using only files you included, you will see what I mean. Anyway, couple of days ago I have written a sample Win32 application that uses SysTabControl32 with an intention to post it. I think I will do it now even though aneird did not participate so far. Project was started with app wizard generated win32 project. jesschen November 19th, 2007, 04:22 PM Hi, John, I didn't miss the code. But as for the project file, I used Dev-cpp. The tab function in the file works fine. But the listbox doesn't. The attachment is the code with *.exe and *.dev (project file). Thanks, Jessica codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |