Basicly in your propertysheet's OnSize handler you have to resize the tab control to match the sheet and then resize the active page to match the tab control. Then use your propertypage's OnSize handler to resize the controls on the page.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Well, I have a console based application which keeps printing to the console for every second or so. The problem that I am facing is when some user clicks on the console, the application is just hanging because of the "printf()" function. The thread resumes operation only after the user presses the right click button.
Any clues as to how I can over ride the mouse events in a console application? (this seems to be the only solution to me, any other solutions are more than welcome).
I have heard something about "GetConsoleWindow()" etc. which provides an alternative to printf()...any1 can please update me on this??
I have source codes of my programs. One of them is dialog based application and the other is SDI Single Document Interface. I would like to combine that two sources into one. SDI program should have the dialog based program inside. What should I do?
now copy the clas CDialogDlg to the SDI app, you must also open
the .rc file from the dialog app and add the dialogtemplate to your SDI app
now you must check the CDialogApp class, if there is some code you must
also add to your new App.
Add a menuentrie to the Mainmenu, and in the eventhandler for
this menu you can create a modal dialog of your
old app and show it to the user...
Can you help me to write the function which will describe the x,y 2-d coord
on the rotated sphere with v initial velocity. It can be top point of the sphere or for example number on the pool ball.
This code is working for...
Open and Read the file "login.rec" in "RECENT" folder and add "USER_NICK" info for a combobox and enumerate "USER_NICK" for same combobox from all existing "USER_NICK.use" file.
this may have a assertion failure error
please fix this code for good working and no error.
You failed to mention what part of the code was in error? It's doubtful you will get much help, if at all, by posting a bunch of code, most of which is irrelevant, and asking folks to look at it and find the problem. You need to have gone through it and narrowed the problem down to just a few lines of code and ask for help with those.
If you are going to use MFC, there is no need to use char, FindFirstFile(), strtok(), etc. That's not to say it won't work, but it makes no sense to bounce back and forth between the two unless you need something that MFC does/can not provide.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow