Click here to Skip to main content
15,892,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CComboBox::GetCurSel() Pin
Zac Howland7-Dec-06 10:07
Zac Howland7-Dec-06 10:07 
AnswerRe: Problem with CComboBox::GetCurSel() Pin
Steve Echols7-Dec-06 11:28
Steve Echols7-Dec-06 11:28 
QuestionCreateService() when not Admin Pin
RomTibi7-Dec-06 8:29
RomTibi7-Dec-06 8:29 
AnswerRe: CreateService() when not Admin Pin
ThatsAlok7-Dec-06 18:00
ThatsAlok7-Dec-06 18:00 
GeneralRe: CreateService() when not Admin Pin
RomTibi9-Dec-06 5:41
RomTibi9-Dec-06 5:41 
GeneralRe: CreateService() when not Admin Pin
ThatsAlok9-Dec-06 18:29
ThatsAlok9-Dec-06 18:29 
GeneralRe: CreateService() when not Admin Pin
RomTibi9-Dec-06 23:49
RomTibi9-Dec-06 23:49 
QuestionHow to Get Dimensioned Bitmap from CBitmap? Pin
MacGadger7-Dec-06 8:24
MacGadger7-Dec-06 8:24 
Hello can anyone please help me.. i want to get the Dimensioned Bitmap from CBitmap ,

like i have a .bmp (bitmap) of 400 x 300 dimensions image.
and i want to show the 20x20 area of image and then 40x30 can anyone tell me how to extract the dimensioned bitmap..

like i try SetBitmapDimensions(int dwWidth , int dwHeight ) but its does not work.. im Attaching a HBITMAP to CBitmap and then using SetBitmapDimension like this:

///////////////////////////////////////

CBitmap bBmp;
bBmp.Attach(hBmp);
bBmp.SetBitmapDimension(20 , 40);

// A Picture Static Control
m_PicCtrl.SetBitmap(bBmp);

////////////////////////////////////////

but when i run the app , its shows all image in the control. so can u plz any one help me ..???

Thank you.
AnswerRe: How to Get Dimensioned Bitmap from CBitmap? Pin
CPallini7-Dec-06 10:41
mveCPallini7-Dec-06 10:41 
QuestionProgram shutdown problems Pin
#realJSOP7-Dec-06 8:13
mve#realJSOP7-Dec-06 8:13 
AnswerRe: Program shutdown problems Pin
led mike7-Dec-06 8:17
led mike7-Dec-06 8:17 
GeneralRe: Program shutdown problems Pin
#realJSOP7-Dec-06 9:03
mve#realJSOP7-Dec-06 9:03 
GeneralRe: Program shutdown problems Pin
Stephen Hewitt7-Dec-06 11:43
Stephen Hewitt7-Dec-06 11:43 
GeneralRe: Program shutdown problems Pin
led mike7-Dec-06 11:44
led mike7-Dec-06 11:44 
QuestionXLL problem Pin
rodka_raskolnikov7-Dec-06 7:32
rodka_raskolnikov7-Dec-06 7:32 
QuestionAnyone explain me this thing .. I'l b thankful .. [modified] Pin
Pimra7-Dec-06 7:07
Pimra7-Dec-06 7:07 
AnswerRe: Anyone explain me this thing .. I'l b thankful .. Pin
David Crow7-Dec-06 7:18
David Crow7-Dec-06 7:18 
GeneralRe: Anyone explain me this thing .. I'l b thankful .. Pin
Pimra7-Dec-06 7:31
Pimra7-Dec-06 7:31 
GeneralRe: Anyone explain me this thing .. I'l b thankful .. Pin
Maximilien7-Dec-06 7:41
Maximilien7-Dec-06 7:41 
GeneralRe: Anyone explain me this thing .. I'l b thankful .. Pin
David Crow7-Dec-06 7:42
David Crow7-Dec-06 7:42 
AnswerRe: Anyone explain me this thing .. I'l b thankful .. Pin
Dan McCormick7-Dec-06 8:34
Dan McCormick7-Dec-06 8:34 
GeneralRe: Anyone explain me this thing .. I'l b thankful .. Pin
Steve Echols7-Dec-06 11:32
Steve Echols7-Dec-06 11:32 
Questionwin32 SDK Download. Pin
prodan7-Dec-06 6:34
prodan7-Dec-06 6:34 
AnswerRe: win32 SDK Download. Pin
toxcct7-Dec-06 6:55
toxcct7-Dec-06 6:55 
GeneralRe: win32 SDK Download. Pin
prodan7-Dec-06 7:19
prodan7-Dec-06 7:19 

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.