CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: MFCQuery

Page 1 of 9 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    Thanks.
  2. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    Yes it's working. In the attached sample the main dialog is modeless and InitInstance returns TRUE. Generally in dialog base application, modal dialog is launch from initinstance. Initinstance...
  3. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    >>create an invisible window first that will be a parent for the both your dialogs, the main one >>and the modeless one.

    I create one invisible window(win1) and write below in its ONINITDIALOG...
  4. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    >>you can try to create an invisible window first that will be a parent for the both your dialogs, >>the main one and the modeless one.

    Will that be main dialog window and i should call its...
  5. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    It's not hide. I want to display modeless dialog under main dialog. Modeless dialog should not display on top of main dialog. I am using modeless dialog to display message logs.
    Well thanks for all...
  6. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    Yes by setting tool window style it does not display on status bar

    But modeless window comes on top if i
    click on modeless window or
    minimize main window and maximize

    to set modeless window...
  7. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    Well passing CWnd::GetDesktopWindow() as second argument in Create function has solved the problem but modeless dialog now displays on status bar. Now two windows (main dialog and modeless dialog)...
  8. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    Yes by passing desktop window, modeless dialog displays under main window
    Thanks
  9. Replies
    17
    Views
    6,933

    Re: Modeless dialog position

    Attached is screen show which shows modeless dialog displays on top of main dialog.
  10. Replies
    17
    Views
    6,933

    Modeless dialog position

    I have a dialog box application which displays main dialog in centre of screen. With this dialog i create one modeless dialog, modeless dialog displays below main dialog
    the top position of modeless...
  11. Replies
    6
    Views
    3,422

    Re: Radio button text color not set

    Thanks for the given link for VS2008.

    I found this problem(radio button color not set) on VS2008 because first i got it in visual studio6 (use XP theme there). I create a dialog base application...
  12. Replies
    6
    Views
    3,422

    Radio button text color not set

    In visual studio 2008
    I have dialog base application, dialog box contains one radio button. to set the text color of radio button
    HBRUSH CtestDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) ...
  13. Replies
    10
    Views
    1,139

    Re: Change folder state

    Ok.
    I want to refresh the window explorer. When i hide some folder, it does not remove from left pane of window explorer.
    To remove it, i thought to use EnumChildWindows, its callback function...
  14. Replies
    10
    Views
    1,139

    Re: Change folder state

    Sorry for miscommunication. It was my first message. After that when you suggest to use EnumChildWindows, i tried that. No compile error. But left pane of window is not refresh
  15. Replies
    10
    Views
    1,139

    Re: Change folder state

    I am not getting compile error. I do not pass anything to callback function and i think i dont need to pass anything.
    callback function gives me window handle for all child windows, I just want to...
  16. Replies
    10
    Views
    1,139

    Re: Change folder state

    I have tried with SHChangeNotify but it does not remove folder from left pane. I have tried with all options by passing folder path.

    About enumchildwindows, i pass desktop window handle to it,...
  17. Replies
    10
    Views
    1,139

    Change folder state

    If i hide a folder using SetFileAttributes(FILE_ATTRIBUTE_HIDDEN), the folder hides. But if window explorer is open then i noticed folder does not hide from left page.

    To hide it from left pane i...
  18. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    Thanks Experts.
    TransprentBlt solve the problem.
  19. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    TransparentBlt is part of VS2010 and i am using Visual Studio6. Is there no other way to change the background color
  20. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    CImageList will not solve the problem because my bitmap image is not single image. It contains 3 images for different state like mouse over, click and general. When i call image_list.add it gives...
  21. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    If i dont use XP theme then also transparent bitmap problem occur. So i think i should not go with DrawThemeBackground function.
  22. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    so it means i should not use xp style theme on windows7. I should use it only for winxp. Right.

    to support xp style theme on winxp, i add some string in my project resource
    "xml version......."
    ...
  23. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    My my application is dialog box application (with Unicode)
    I am using XP style theme in my application.
  24. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    Thanks for your reply.
    For any image on button, i am using an image which contains actually 3 images: general, mouse over and click
    Will cimagelist support that?

    as Add method of imagelist takes...
  25. Replies
    16
    Views
    5,339

    Re: Transparent bmp issue

    To display bitmap on button i am using below

    http://www.codeproject.com/KB/buttons/hoverbutton.aspx
Results 1 to 25 of 203
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured