1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Dehighlighting a Tab in TabControl

Discussion in 'MFC' started by manmfc, Sep 22, 2008.

  1. manmfc

    manmfc New Member

    Joined:
    Sep 22, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I have created a tab control in MFC(VC++). While user is doing something in a tab, then I should restrict the user to change to another till the work started in a tab has been completed.
    Eg: In Tab A on some button click a thread will be launched, at that point of time user should not be able to move to another tab from Tab A.

    I tried it. But I couldn't make it up. Help me out.
     
  2. Cosmic_egg

    Cosmic_egg New Member

    Joined:
    Jul 21, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I think you can set a global flag which indicates work on current tab.
    When User Click on the other tab and flag is on. Do not let that particular MSG be passed for processing.
    WindowProc is the function where you could block that message.
    You Could use Spy++ to figure out the window message.
    I think it should be pretty simple after that.
     
  3. skinui

    skinui New Member

    Joined:
    Oct 18, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    SkinFeature developer library improves the visual appearance of your applications by adding originality and uniqueness.

    SkinFeature developer library is a powerful library that changes the visual appearance of windows or dialogs, providing developers with full-featured support for 'application skins', or 'application look and feel'. Skinfeature makes it easy to create programs with visually stunning, fully interactive user interfaces.

    When it comes to impressing your clients and your software users, nothing is more helpful than SkinFeature skin creator software. With innovative features and superior simplicity of use, you'll agree that no other GUI design tool comes close.

    features:

    With SkinFeature you could make your program look exactly like it was from another OS, or create your own user WinAmp-like "skinned" interfaces, or just give it a different, distinctive look.
    ¦ support all Windows standard control
    ¦ support Windows 98/NT4/2000/XP/2003
    ¦ support MFC/WTL/SDK/VB/DELPHI/.NET/WIN32COM
    ¦ support MDI/SDI/Dialog/Shape style window
    ¦ support Windows's common dialog
    ¦ support custom control
    ¦ support UNICODE
    ¦ WYSWYG skin editor
    ¦ include all source

    WEBSite: http://www.skinui.com
     

Share This Page