| | |
Tips on windows programming
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Guys, I need some help on programming in windows.
U see I learned to program in DOS using C and C++. So I mostly used console to show output and to get input. Now as a part of my this semester's project i have to do the programming in windows. I actually want to make some games that would be running in a window. For that i need to now "How do I even create a window and write things on that,that is how can i use it as a subtitute for the console." I just need to know the easy library functions to get the job done as simply as possible. And also how to show some image in a portion of that window and then how to move it. Just tell me the library functions that will make my life easy.
U see I learned to program in DOS using C and C++. So I mostly used console to show output and to get input. Now as a part of my this semester's project i have to do the programming in windows. I actually want to make some games that would be running in a window. For that i need to now "How do I even create a window and write things on that,that is how can i use it as a subtitute for the console." I just need to know the easy library functions to get the job done as simply as possible. And also how to show some image in a portion of that window and then how to move it. Just tell me the library functions that will make my life easy.
•
•
Join Date: Jul 2004
Posts: 3
Reputation:
Solved Threads: 0
A R R
well if u use MFC there are class for windows
in Windows operating system sends messages to your window's procedure (ex wM_mousemove, ...) witch is responsible for calling functions u want depending on the type of message
in mFC it is easy and u dant need to know all minor things
u just create a class for window derived from CFrameWnd and show wich functions u want to call on the specific event=message
u create the CWinApp::instance(...) of these class CFramewnd::Create(...) in initinstance-function of you CWinApp class object representing the application and
and give the pointer to the window m_pMain...= ptrYourWnd;
look in MSDN= microsoft developer network
if u want to use borlands VCL there are also some classes
But if u want to use WinAPI=aplication programming interface directly it is hard
but i can send u a skeleton
if u want some details write me mail www.tsadigov@yahoo.com
I am a beginner but i hope i will be able to help u
well if u use MFC there are class for windows
in Windows operating system sends messages to your window's procedure (ex wM_mousemove, ...) witch is responsible for calling functions u want depending on the type of message
in mFC it is easy and u dant need to know all minor things
u just create a class for window derived from CFrameWnd and show wich functions u want to call on the specific event=message
u create the CWinApp::instance(...) of these class CFramewnd::Create(...) in initinstance-function of you CWinApp class object representing the application and
and give the pointer to the window m_pMain...= ptrYourWnd;
look in MSDN= microsoft developer network
if u want to use borlands VCL there are also some classes
But if u want to use WinAPI=aplication programming interface directly it is hard
but i can send u a skeleton
if u want some details write me mail www.tsadigov@yahoo.com
I am a beginner but i hope i will be able to help u
![]() |
Similar Threads
- Plz Help:In windows programming how to close dialog box? (C++)
- Windows Programming (Win 32 API) (C)
- Windows Programming (C++)
- Windows programming task (C)
- A request for information on Windows programming in C (C++)
Other Threads in the C++ Forum
- Previous Thread: Need help with including C++ code in Word macro
- Next Thread: storing references to classes
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll download dynamiccharacterarray email encryption error file forms fstream function functions game generator getline givemetehcodez graph homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings struct temperature template text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





