Click here to Skip to main content
16,006,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLoading a CBitmap directly from file system without requiring ::LoadBitmap Pin
Ahmed Charfeddine26-Nov-10 5:04
Ahmed Charfeddine26-Nov-10 5:04 
AnswerRe: Loading a CBitmap directly from file system without requiring ::LoadBitmap Pin
Richard MacCutchan26-Nov-10 6:29
mveRichard MacCutchan26-Nov-10 6:29 
AnswerRe: Loading a CBitmap directly from file system without requiring ::LoadBitmap Pin
Ahmed Charfeddine26-Nov-10 6:45
Ahmed Charfeddine26-Nov-10 6:45 
Questionnot recv()'ing everything [modified] Pin
ALLERSLIT26-Nov-10 4:40
ALLERSLIT26-Nov-10 4:40 
AnswerRe: not recv()'ing everything Pin
Ahmed Charfeddine26-Nov-10 5:37
Ahmed Charfeddine26-Nov-10 5:37 
GeneralRe: not recv()'ing everything [modified] Pin
ALLERSLIT26-Nov-10 5:57
ALLERSLIT26-Nov-10 5:57 
GeneralRe: not recv()'ing everything Pin
Ahmed Charfeddine26-Nov-10 6:40
Ahmed Charfeddine26-Nov-10 6:40 
AnswerRe: not recv()'ing everything Pin
Richard MacCutchan26-Nov-10 6:20
mveRichard MacCutchan26-Nov-10 6:20 
You need to study the rules of sockets. A recv() call will only return the amount of data that is currently available on the socket. You must continue to receive data until you get the end of the transmission (I cannot remember the last piece of an HTTP message, but I'm sure you can Google it). Don't just assume you will get the entire message in one go.
Just say 'NO' to evaluated arguments for diadic functions! Ash

QuestionHow to detect if the containing popup window is deactivated? Pin
Code-o-mat26-Nov-10 4:32
Code-o-mat26-Nov-10 4:32 
AnswerRe: How to detect if the containing popup window is deactivated? Pin
Ahmed Charfeddine26-Nov-10 5:22
Ahmed Charfeddine26-Nov-10 5:22 
GeneralRe: How to detect if the containing popup window is deactivated? Pin
Code-o-mat26-Nov-10 5:30
Code-o-mat26-Nov-10 5:30 
GeneralRe: How to detect if the containing popup window is deactivated? Pin
Ahmed Charfeddine26-Nov-10 5:47
Ahmed Charfeddine26-Nov-10 5:47 
GeneralRe: How to detect if the containing popup window is deactivated? Pin
Code-o-mat26-Nov-10 6:04
Code-o-mat26-Nov-10 6:04 
QuestionLPSTR or something like that Pin
Krauze26-Nov-10 3:49
Krauze26-Nov-10 3:49 
AnswerRe: LPSTR or something like that Pin
Ahmed Charfeddine26-Nov-10 5:14
Ahmed Charfeddine26-Nov-10 5:14 
GeneralRe: LPSTR or something like that Pin
Krauze26-Nov-10 14:32
Krauze26-Nov-10 14:32 
AnswerRe: LPSTR or something like that Pin
Chris Losinger26-Nov-10 5:15
professionalChris Losinger26-Nov-10 5:15 
GeneralRe: LPSTR or something like that Pin
Krauze26-Nov-10 14:33
Krauze26-Nov-10 14:33 
AnswerRe: LPSTR or something like that Pin
yu-jian26-Nov-10 6:19
yu-jian26-Nov-10 6:19 
GeneralRe: LPSTR or something like that Pin
Krauze26-Nov-10 14:33
Krauze26-Nov-10 14:33 
GeneralRe: LPSTR or something like that Pin
yu-jian28-Nov-10 4:08
yu-jian28-Nov-10 4:08 
QuestionBlack out the application. Pin
Le@rner26-Nov-10 1:07
Le@rner26-Nov-10 1:07 
AnswerRe: Black out the application. Pin
CPallini26-Nov-10 1:28
mveCPallini26-Nov-10 1:28 
GeneralRe: Black out the application. Pin
Le@rner26-Nov-10 1:30
Le@rner26-Nov-10 1:30 
GeneralRe: Black out the application. Pin
CPallini26-Nov-10 1:39
mveCPallini26-Nov-10 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.