Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

lackluster

!ShowWindow

This topic is 6136 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I''m trying to create an invisible window as my main window. I''m using a dialog box for this. I have visible set to false and:
  
case WM_INITDIALOG:
	InstallSysMenu();
	ShowWindow(hWnd, SW_HIDE);
	return true;
        break;
  
Isn''t working. The only workaround I have is to post false messages to my prog and call ShowWindow(hWnd, SW_HIDE) there also (which is really queer). I''m using MSVC .NET & running Win2k. Any help is appreciated. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
What exactly do you mean by "isn''t working"?

Why would you want to hide a window that''s not visible initially, if you didn''t show it in the first place?

Are you using DialogBox or CreateDialog?

Share this post


Link to post
Share on other sites
I''m using DialogBox. I tried to hide the window because it was showing even though I asked it politely not to. That''s what I mean by "isn''t working". It really won''t hide. I''m just wondering if anybody else has had this problem.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!