-
May 16th, 2009, 08:53 AM
#1
Need help: GUI program to launch Maintenance Tools?
Hi
Any ideas on how I could create the above mockup, for real?
I would like;
RAM - Display shows in log (bottom) - Open display system properties
Scheduled Tasks - Display shows in log - Open opens up the scheduled tasks control panel applet
Backup Directory - Display show which it will go to - Open opens it up in explorer
Check Raid - Checks if the Software RAID is healthy - Open opens up Disk Management
I thought of the idea, then I prtscn'd the XAMPP Control Panel for the mockup.
Please tell me if it is possible to do as shown in the mockup.
Thanks in advance,
Panarchy
-
May 17th, 2009, 07:47 AM
#2
Re: Need help: GUI program to launch Maintenance Tools?
-Maintenance title - static control(panel) or DrawText()
-GroupBox - if window == dlg, then use groupbox control resource, otherwise, the box would be an empty static control(will have to check styles to create the border) and the text is another static control located above the static control(box)
-Display/Open/About/Help/Exit buttons = buttons with flat style
-RAM/Scheduled tasks/Backup Directory/Check Raid = static controls with text
-Lines can be draw with LineTo()
-Edit Control with Windows 5.1 etc - text centered
-version = DrawText(), ...and possibly PolyLine()
Give each button an individual id, and process in WM_COMMANDS having each "Open" Button use ShellExecute() or CreateProcess().
List of all Controls: http://msdn.microsoft.com/en-us/libr...69(VS.85).aspx
LineTo(): http://msdn.microsoft.com/en-us/library/aa453296.aspx
Polyline(): http://msdn.microsoft.com/en-us/library/ms911934.aspx
DrawText(): http://msdn.microsoft.com/en-us/libr...98(VS.85).aspx
c++ winapi Tutorials(first result page should help alot): http://www.google.com/search?hl=en&c...ls&btnG=Search
-
May 17th, 2009, 08:33 AM
#3
Re: Need help: GUI program to launch Maintenance Tools?
Thanks.
Very interesting and knowledgeable reply. I'll do research into the different calls you mentioned & read some WinAPI tutorials, before coming back for more questions!!!
Thanks once again,
Panarchy
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
|