Skip to main content
gamedev.net
🔒 Locked

windows programming and dialog problems

Started by biohaz 0 replies 600+ views
Original Post
biohaz
biohaz
Im having a problem with my windows program that I am creating. I am creating an autorun program that loads when the cd is put in, but I am having an issue with swapping dialogs to the next window (because I only want 1 screen visible the entire time). So here is my situation: I have 3 dialogs in my resource file, a main menu, options, and graphics options dialog. Only 1 can be open at the same time. Currently I have them ShowWindow(WindowHandles[0], SW_HIDE); ShowWindow(WindowHandles[1], SW_SHOW); whenever the button is clicked to go to the next dialog. The problem I am having is that showing and hiding them will show that you are doing that on the task bar. Also, sometimes when I click on a button to go to the next screen, it will not be in front and will actually be behind other windows (VC++ window at least). My question is: is there a way to copy the dialog info into the displayed window so that the window is never shown/hid? I am not using MFC Thanks in advance [Edited by - biohaz on December 9, 2005 4:56:05 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.