CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    May 2009
    Posts
    7

    [solved]Issue with ::ShowWindow(hwnd, SW_RESTORE)

    Im running a direct3d app which launches other applications, calls ::ShowWindow(hwnd, SW_MINIMIZE) on itself, and monitors that new app for its close down. When the launched application closes down, the direct3d app calls ::ShowWindow(hwnd, SW_RESTORE) - where hwnd is its handle.

    This works fine in debug mode. The app minimizes when another is launched, and the maximizes to full screen when the launched app closes down. In release mode though, it just doesnt maximize. Same code, just doesnt seem to work. Any ideas as to why?

    [EDIT] setting solved tag -- turns out there was no problem
    Last edited by sofcal; July 20th, 2009 at 04:54 AM.

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