i mean from within a c++ program.
I know system(name.exe); (or something like that) launches a program.
Type: Posts; User: Frantic-
i mean from within a c++ program.
I know system(name.exe); (or something like that) launches a program.
yes for windows :)
Is there a site that can teach how to use the shell commands, and what they all are?
Ok im still a bit confused on the hdcSrc
HBITMAP hmainbg = LoadBitmap(hmaininstance,"test.bmp");
HDC hmaindc = GetDC(hmainwnd);
CreateCompatibleDC(hmaindc);
SelectObject(hmaindc,hmainbg);...
I read up on this at MSDN and im confused about how to use it. Ive gotten every other function I need to get a bitmap on the screen accept this one. Can you please explain to me how to use it?
...
Im getting this error after I run my program and then close it and try re-compiling.
--------------------Configuration: Code - Win32 Debug--------------------
Compiling...
main.cpp
c:\documents...
I got it to work with slightly different code, but the major changes you listed were made :-) thanks for the help.
Im trying to get two edit boxes on the screen but they are not showing up. Can anyone tell me what Im doing wrong?
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windowsx.h>...
Ok, im having some problems transfering some functions that worked before into a single header and then making them so that they can be reused. These all worked before with out the variables Im...
So would I type something like this?
CreateWindow(EDIT,username,NULL,0,0,100,20,NULL,NULL,husername,NULL);
Where can I find stuff about making text boxes, and other things from the windows API.
ty, that has quite a bit of stuff in it about strings.
Im trying to make some code that will change the font of a keyword when it is typed in, im trying to make a little program that makes web pages...
Is there a place that lists all the string functions like len, upper, mid etc?
What am I doing wrong here?
EXPORT int XSDKPUSHBUTTON (LPSTR stext, int ixpos, int iypos, int iheight, int iwidth , int ibid)
Does anyone know which files I would need to download in order to use the compiler?
http://sourceforge.net/projects/mingw/
ive read my sams teach your self c++ in 24 hours cover to cover, and took a computer programming class and learned c++ for a small part of it, most of it was in JAVA. And if you are infering that I...
I have vc++ 6.0 with a very limited license. Im now wishing to purchase a fully licensed program. What is the difference between 6.0 and .NET 2003 other than .NET 2003 support the .NET frame work....
never mind i got it :P
ok now how about this one. When the users enters the correct word, it goes to the error screen. If i entered "OK" where smessage goes, it would give me an error.
// MESSAGE BOX...
This is just one of the functions im making for a 3rd party DLL for a different language.
#ifndef EXPORT
#define EXPORT __declspec (dllexport)
#endif
// MESSAGE BOX OK...
ahh thanks. I thought that because menu.h was declared in my res file, that I didnt need it in the cpp file.
anyone?
give me 24.50/hr (US) and ill do t
i have the menu built and added into my windows and now im trying to make it do certain things when people click on the items. here are my errors:
--------------------Configuration: icons -...
here is everything before it is included:
// Just say no to MFC
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
// Include statements...