Click here to Skip to main content
15,886,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Client Area not repainted after restore from minimization Pin
Hamid_RT8-Apr-06 9:22
Hamid_RT8-Apr-06 9:22 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 9:38
naal118-Apr-06 9:38 
AnswerRe: Client Area not repainted after restore from minimization Pin
Waldermort8-Apr-06 8:14
Waldermort8-Apr-06 8:14 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 9:16
naal118-Apr-06 9:16 
AnswerRe: Client Area not repainted after restore from minimization (still not solved) Pin
Iain Clarke, Warrior Programmer8-Apr-06 13:03
Iain Clarke, Warrior Programmer8-Apr-06 13:03 
GeneralRe: Client Area not repainted after restore from minimization (still not solved) Pin
naal118-Apr-06 21:45
naal118-Apr-06 21:45 
AnswerRe: Client Area not repainted after restore from minimization (still not solved) Pin
naal1113-Apr-06 6:13
naal1113-Apr-06 6:13 
QuestionBitmap transfer over socket Pin
Identity Undisclosed8-Apr-06 6:20
Identity Undisclosed8-Apr-06 6:20 
I want to transfer bitmap over socket. For that I need pixel buffer retrieved from bitmap and I use GetDIBits. When I debug, I get the nLength value equivalent to the height of bitmap. but all the values of lpvBits array are 0.
What I am doing wrong. Any help

LPBYTE lpvBits = (LPBYTE) GlobalAlloc(GMEM_FIXED, pbmi->bmiHeader.biSizeImage);
int nLength = GetDIBits(hdc,hCaptureBitmap,0,(WORD)pbmi->bmiHeader.biHeight,lpvBits,pbmi,DIB_RGB_COLORS);

Also can someone please tel me is it the correct method for transfering a bitmap
over socket. or theres a better/correct method.


Thanx alot Smile | :)


"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg."
- Bjarne Stroustrup

AnswerRe: Bitmap transfer over socket Pin
includeh108-Apr-06 6:55
includeh108-Apr-06 6:55 
AnswerRe: Bitmap transfer over socket Pin
El Corazon8-Apr-06 8:37
El Corazon8-Apr-06 8:37 
QuestionWindows Hook for global monitoring Pin
Virtek8-Apr-06 5:34
Virtek8-Apr-06 5:34 
QuestionLink Error in VS6 Pin
Waldermort8-Apr-06 4:30
Waldermort8-Apr-06 4:30 
AnswerRe: Link Error in VS6 Pin
Hamid_RT8-Apr-06 6:00
Hamid_RT8-Apr-06 6:00 
GeneralRe: Link Error in VS6 Pin
Waldermort8-Apr-06 7:03
Waldermort8-Apr-06 7:03 
GeneralRe: Link Error in VS6 Pin
Waldermort8-Apr-06 7:06
Waldermort8-Apr-06 7:06 
GeneralRe: Link Error in VS6 Pin
Hamid_RT8-Apr-06 7:37
Hamid_RT8-Apr-06 7:37 
GeneralRe: Link Error in VS6 Pin
Waldermort8-Apr-06 8:27
Waldermort8-Apr-06 8:27 
GeneralRe: Link Error in VS6 Pin
Hamid_RT8-Apr-06 9:23
Hamid_RT8-Apr-06 9:23 
AnswerRe: Link Error in VS6 Pin
Gary R. Wheeler8-Apr-06 8:36
Gary R. Wheeler8-Apr-06 8:36 
GeneralRe: Link Error in VS6 Pin
Waldermort8-Apr-06 20:20
Waldermort8-Apr-06 20:20 
AnswerRe: Link Error in VS6 Pin
Roland Pibinger8-Apr-06 8:43
Roland Pibinger8-Apr-06 8:43 
Questiontile view in listview Pin
fajaronly8-Apr-06 3:59
fajaronly8-Apr-06 3:59 
AnswerRe: tile view in listview Pin
includeh108-Apr-06 7:55
includeh108-Apr-06 7:55 
GeneralRe: tile view in listview Pin
fajaronly8-Apr-06 8:13
fajaronly8-Apr-06 8:13 
Questionabout VSS Pin
FlyWithYou8-Apr-06 3:07
FlyWithYou8-Apr-06 3:07 

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.