Problem with sizing
-
Sir, I am integrating flash with VC++. I am using Dialog Based App. I inserted this Active X Control. I wanted to show both this Control and Dialog Window in a maximized state. I called ShowWindow(SW_MAXIMIZED) in OnInitDialog. When I execute the App I get the main window in maximized but the control in that is not at all maximized. Pls help. Regards Chintu
-
Sir, I am integrating flash with VC++. I am using Dialog Based App. I inserted this Active X Control. I wanted to show both this Control and Dialog Window in a maximized state. I called ShowWindow(SW_MAXIMIZED) in OnInitDialog. When I execute the App I get the main window in maximized but the control in that is not at all maximized. Pls help. Regards Chintu
You'll have to move yourself the control at the size and position you want based on the client coordinates of the parent window. Take a look at MoveWindow in the MSDN.