CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    92

    Question 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

  2. #2
    Join Date
    Apr 2008
    Posts
    214

    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

  3. #3
    Join Date
    Nov 2007
    Posts
    92

    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
  •  





Click Here to Expand Forum to Full Width

Featured