Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Release mode problem ? [modified] Pin
CPallini29-Dec-06 0:06
mveCPallini29-Dec-06 0:06 
QuestionRe: Release mode problem ? Pin
jk chan29-Dec-06 0:21
jk chan29-Dec-06 0:21 
AnswerRe: Release mode problem ? Pin
Joan M29-Dec-06 2:35
professionalJoan M29-Dec-06 2:35 
Questionany gdi guru can help me? Pin
OmarLodhi28-Dec-06 21:44
OmarLodhi28-Dec-06 21:44 
AnswerRe: any gdi guru can help me? Pin
Cristian Amarie28-Dec-06 22:31
Cristian Amarie28-Dec-06 22:31 
GeneralRe: any gdi guru can help me? Pin
OmarLodhi28-Dec-06 23:20
OmarLodhi28-Dec-06 23:20 
GeneralRe: any gdi guru can help me? Pin
Cristian Amarie28-Dec-06 23:26
Cristian Amarie28-Dec-06 23:26 
GeneralRe: any gdi guru can help me? Pin
OmarLodhi29-Dec-06 4:10
OmarLodhi29-Dec-06 4:10 
Hi,

i have little bit confusion like u said to create using CreateCompatibleBitmap.
Is it necessary to create the bitmap this way?

I am creating the bitmap as i mentioned in the first post like this

nWidth = bmih.biWidth*3;
if(bmih.biWidth*3%4 != 0)
{
nWidth = bmih.biWidth*3 + 4-(bmih.biWidth*3%4);
}


BOOL b = m_bmpBackImage.CreateBitmap(bmih.biWidth, bmih.biHeight, bmih.biPlanes, bmih.biBitCount, NULL);

m_bmpBackImage.SetBitmapBits(nWidth*bmih.biHeight, byBmp + bmfh.bfOffBits);

will it not work if the image is created in this way.
thanks for your help.
omar lodhi


AnswerRe: any gdi guru can help me? Pin
Gary R. Wheeler29-Dec-06 6:01
Gary R. Wheeler29-Dec-06 6:01 
AnswerRe: any gdi guru can help me? Pin
Hamid_RT29-Dec-06 17:42
Hamid_RT29-Dec-06 17:42 
GeneralRe: any gdi guru can help me? Pin
OmarLodhi30-Dec-06 4:40
OmarLodhi30-Dec-06 4:40 
AnswerRe: any gdi guru can help me? Pin
Mark Salsbery30-Dec-06 8:38
Mark Salsbery30-Dec-06 8:38 
AnswerRe: any gdi guru can help me? Pin
Mark Salsbery30-Dec-06 10:05
Mark Salsbery30-Dec-06 10:05 
GeneralRe: any gdi guru can help me? Pin
OmarLodhi31-Dec-06 19:07
OmarLodhi31-Dec-06 19:07 
GeneralRe: any gdi guru can help me? [modified] Pin
Mark Salsbery1-Jan-07 11:22
Mark Salsbery1-Jan-07 11:22 
GeneralRe: any gdi guru can help me? Pin
OmarLodhi2-Jan-07 14:59
OmarLodhi2-Jan-07 14:59 
NewsHiEdit V1.0.1.4 [modified] Pin
akyprian28-Dec-06 21:33
akyprian28-Dec-06 21:33 
QuestionAnd the question is? Pin
CPallini28-Dec-06 21:43
mveCPallini28-Dec-06 21:43 
AnswerRe: And the question is? Pin
akyprian28-Dec-06 21:50
akyprian28-Dec-06 21:50 
GeneralRe: And the question is? Pin
prasad_som28-Dec-06 22:22
prasad_som28-Dec-06 22:22 
GeneralRe: HiEdit V1.0.1.4 Pin
ThatsAlok28-Dec-06 23:00
ThatsAlok28-Dec-06 23:00 
GeneralRe: HiEdit V1.0.1.4 Pin
akyprian29-Dec-06 0:03
akyprian29-Dec-06 0:03 
GeneralRe: HiEdit V1.0.1.4 Pin
ThatsAlok29-Dec-06 0:46
ThatsAlok29-Dec-06 0:46 
GeneralRe: HiEdit V1.0.1.4 Pin
David Crow29-Dec-06 3:56
David Crow29-Dec-06 3:56 
GeneralRe: HiEdit V1.0.1.4 Pin
akyprian29-Dec-06 4:18
akyprian29-Dec-06 4:18 

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.