Windows Programming (Page 3)

New! Join the C++ community on Google+
the different types of message loop
 
first I handle the message loop like this: MSG msg; while(GetMessage(&msg, 0, 0, 0)) { // do...
[1 reply] : The real difference here is between the PeekMessage and the GetMess... (by guestgulkan)
How to connect to a IRC channel
 
Hi c++ forums, I am coding a simple program which connects to a IRC channel and reads out messages....
[1 reply] : These must be useful to you: cpIRC - a IRC C++ Class http://www.nongn... (by EssGeEich)
C++ CLI Byte array to String and back
 
I'm using sockets in a C++ forms application and it is talking to a native C++ DLL that uses winsock...
[3 replies] Last: I figured it out...by using a simple NetworkStream and encoding the by... (by troutguy)
by lmsmi1
Simple Program Gone Wrong?
 
I wanted to display static text in a WinAPI window, but apparently I get these errors of which when ...
[1 reply] : Add -mwindows or link against libkernel32.a (by modoran)
FAT32 Root Directory Read
 
Hello, I am trying to read the starting cluster number from a file that i search for. This is found...
[3 replies] Last: I don't think you do it, not in your posted code. There you just open ... (by modoran)
i need serious help!!!!!!
 
hello i need alot of help if anyone is willing my teacher just posted my final assignment. i dont un...
[2 replies] Last: thanks it helped now i am on the cards im trying to make the cards usi... (by marcusFXO)
with or without WM_CLOSE?
 
I found in a Modeless Dialog Box Procedure, the WM_CLOSE is necessary otherwise it can close. but i...
[3 replies] Last: can you tell me what is "dialog box processed the message", is it like... (by ylxin1993)
Monitoring flow of program in Visual C++
 
Hello CppGurus, I am wondering if there is any program out there that could map out the flow of pro...
[3 replies] Last: You're welcome DK, glad it helped you. Ogoyant (by Ogoyant)
window procedure HWND varible must static??
 
like below, my little program is this: you write some text in the edit box, and click "add" button, ...
[6 replies] Last: His version is a bit slower, because it always re-computes the variabl... (by EssGeEich)
by krell
can you guys help?
 
i need help with dream maker and want to make a space station is there a code/ codes that can help c...
[1 reply] : DM is a simple game designer program. C++ is a real computer language... (by cnoeval)
by Veltas
Using extern
 
Say I have a standard C++ program and have some 'extern' functions in other files that I want to inc...
[2 replies] Last: You could use a library, as kbw said. But you don't normally use funct... (by Nexius)
confused by SelectObject funcion
 
I saw a segment in my book about double buffering constructor: BackBuffer::BackBuffer(HWND hWnd, in...
[1 reply] : mhOldObject = (HBITMAP)SelectObject(mhDC, mhSurface); // select obje... (by guestgulkan)
Get flv/mp4 files thumbnails.
 
i need a custom program which takes flv/mp4 file and outputs a image of specific frame of flv/mp4 fi...
[2 replies] Last: That's what i was looking for, thank you. (by time to c)
How to make Windows buttons look Legit
 
Hey, I am working on a UAC program and the button look very bad and i want to make it look like a n...
[3 replies] Last: If you're using visual studio, you can add this to the top of one of y... (by Stewbond)
this is my assigment, need to handup in few hours, i already tried for 2 days, please need help (1,2)
 
urgent Write a program to calculate the grade point average (CGPA) of the student. Students are r...
[20 replies] Last: Great Job ITstudent, it looks like you have made a lot of progress. Th... (by Zereo)
Winsock help
 
Hi everyone i was following a winsock tutorial on youtube and i typed out the code but i seem to hav...
[7 replies] Last: Because i watched it too and ask IceT3e3a for help he will help you as... (by Cyberwarfare)
use unicode or multiple char
 
in vs2010, the default encoding is unicode, but my book is a little old, I have to add L before my...
[1 reply] : You could disable Unicode settings in VS2010 really easy by adding thi... (by modoran)
DLL function pointer structure?
 
these are just some my function pointer prototype attempts typedef int (__cdecl *FNPTR)(LPWSTR);...
[4 replies] Last: Oh yes thats great! Turns out that the DLL has other functions that I... (by steallen)
by h4344
Problem with GUI flickering/Bitmap
 
So im trying to fix the flickering in my program because it updates very quickly, im still new with ...
[5 replies] Last: From MSDN ( http://msdn.microsoft.com/en-us/library/windows/desktop/ff... (by EssGeEich)
How to see if Admin or Not windows 7
 
Hi C++ forums, I am currently working on a program which finds if you are Admin or not if you are A...
[1 reply] : This MSDN entry has the code for the preferred method: CheckTokenMemb... (by andywestken)
Pages: 12345... 10
  Archived months: [oct2012]

Cannot post in this page. To post a new message, go to the first page.