Click here to Skip to main content
16,005,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: API function Pin
Tim Zorn20-Aug-05 12:27
Tim Zorn20-Aug-05 12:27 
GeneralRe: API function Pin
Ravi Bhavnani16-Aug-05 11:03
professionalRavi Bhavnani16-Aug-05 11:03 
GeneralRe: API function Pin
David Crow16-Aug-05 11:12
David Crow16-Aug-05 11:12 
GeneralRe: API function Pin
pablo_mag16-Aug-05 13:54
pablo_mag16-Aug-05 13:54 
GeneralRe: API function Pin
Ravi Bhavnani16-Aug-05 13:59
professionalRavi Bhavnani16-Aug-05 13:59 
GeneralRe: API function Pin
pablo_mag16-Aug-05 14:00
pablo_mag16-Aug-05 14:00 
GeneralRe: API function Pin
pablo_mag16-Aug-05 14:01
pablo_mag16-Aug-05 14:01 
Generalim trying to create an image thats a button Pin
Tim Zorn16-Aug-05 7:06
Tim Zorn16-Aug-05 7:06 
can u tell me whats wrong with my code plz:

HBITMAP hbmp = LoadBitmap(hinst,MAKEINTRESOURCE(IDB_BITMAP1));

RECT r;

GetWindowRect(hBtn1,&r);

HDC pthisDC;
HDC bmpDC;
HBITMAP pOldBitmap;

pthisDC = GetDC(hWnd);

bmpDC = CreateCompatibleDC(pthisDC);

pOldBitmap = (HBITMAP)SelectObject(bmpDC,&hbmp);

BitBlt(pthisDC,
0,0,
r.right-r.left,
r.bottom-r.top,
bmpDC,
0,0,SRCCOPY);

SelectObject(bmpDC,pOldBitmap);
DeleteDC(bmpDC);


help would be appreciated Big Grin | :-D
GeneralRe: im trying to create an image thats a button Pin
Anonymous17-Aug-05 3:31
Anonymous17-Aug-05 3:31 
GeneralPorting from Windows to Linux Pin
Jnewg516-Aug-05 6:12
Jnewg516-Aug-05 6:12 
GeneralRe: Porting from Windows to Linux Pin
Kevin McFarlane16-Aug-05 11:02
Kevin McFarlane16-Aug-05 11:02 
GeneralRe: Porting from Windows to Linux Pin
markkuk16-Aug-05 22:35
markkuk16-Aug-05 22:35 
Generalstrange breakpoint setting Pin
valerie9916-Aug-05 6:09
valerie9916-Aug-05 6:09 
GeneralRe: strange breakpoint setting Pin
Blake Miller17-Aug-05 4:33
Blake Miller17-Aug-05 4:33 
Generalthanks! Pin
valerie9917-Aug-05 10:00
valerie9917-Aug-05 10:00 
GeneralHelp wanted with Wolfram Steinke's ListBoxTutorial Pin
cgb14316-Aug-05 5:21
cgb14316-Aug-05 5:21 
GeneralRe: Help wanted with Wolfram Steinke's ListBoxTutorial Pin
David Crow16-Aug-05 7:36
David Crow16-Aug-05 7:36 
GeneralRe: Help wanted with Wolfram Steinke's ListBoxTutorial Pin
cgb14316-Aug-05 9:28
cgb14316-Aug-05 9:28 
GeneralString to LPCTSTR conversion Pin
TUMB16-Aug-05 5:04
TUMB16-Aug-05 5:04 
GeneralRe: String to LPCTSTR conversion Pin
RChin16-Aug-05 5:18
RChin16-Aug-05 5:18 
GeneralRe: String to LPCTSTR conversion Pin
TUMB16-Aug-05 5:27
TUMB16-Aug-05 5:27 
GeneralRe: String to LPCTSTR conversion Pin
RChin16-Aug-05 5:53
RChin16-Aug-05 5:53 
Generalmuttiple file selection2 Pin
_tasleem16-Aug-05 4:58
_tasleem16-Aug-05 4:58 
GeneralRe: muttiple file selection2 Pin
RChin16-Aug-05 5:26
RChin16-Aug-05 5:26 
GeneralRe: muttiple file selection2 Pin
David Crow16-Aug-05 6:02
David Crow16-Aug-05 6:02 

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.