Im having a problem with a dialog box I made. I want it to come up when the main dialog initializes itself, but I dont want it to stop any processes, I just want to have it pop up and float as a toolbox. Whats the code to do this? I know how to call the dialog, but cant get it to continue...
Okay, so if I have a string that has just numbers inside of it, and I want to put it inside an int, i'd do this?:
int TheNumbers= 0;
atoi(m_sNums);
Then, how do I load it into the integer variable?
It depends if you want to do an mfc app, a console app, or a win 32 app.
For begginers with mfc, the best is an MFC app, and name it, then put dialog based, then click next through the wizard then finish.
A console app is your normal C++ dos app.
A win32 app is kind of like aa dos app cept for...
Im making a calculator and have an edit box that has a cstring variable attached to it, I need to be able to make the edit box also accept int variables though becuase of the way my program is set up. I've tried everything I know how to do, can you help?
Okay, call me stupid, but nobody seems to know how to do basic graphic functions in C++.
I want to just do some basic stuff to expand my C++ knowledge but cant find any tutorials online besides things like open gl and direct x.
Anyone know how to do graphics in a console app?
Popup menus have been the bane of my existance in visual c++. Im following a tutorial that came with a cd I got and this is the code it gives me for OnContextMenu():
void CPopupMenuDlg::OnContextMenu(CWnd* pWnd, CPoint point)
{
// TODO: Add your message handler code here
CMenu *m_lMenu...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.