Hi, I'm new to c++, using Codewarrior 5, I created a simple console unit conversion program but have not found out how to control the size of the window that it opens in. Is this a Compiler setting or a c++ command please?
Thanks
Hi, I'm new to c++, using Codewarrior 5, I created a simple console unit conversion program but have not found out how to control the size of the window that it opens in. Is this a Compiler setting or a c++ command please?
Thanks
CodeWarrior.... is that a Mac thing??? Coz as far as I know it's purely for Macs (please feel free to correct me if i'm wrong).
i think no matter what you're in the wrong forum but that's kewl.
if you're using a Mac, i can't help you.. if you're using windows, then check out MoveWindow() or SetWindowPos()... they will help you control window size an position...
if you are looking to prevent users from resizing or something like that.. then you need to handle the WM_SIZING message, and alter the value of the parameters of the rectangle structure that you can reference through either the wParam or lParam parameter.
hope this helps
U.
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
Thanks for the help. I'll try it out. I actually have the Mac and Windows versions of the Codewarrior program so I can do cross-platform stuff. It seems to work pretty well. Thanks again for the suggestions.
C
no problem
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.