Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLooking for Unicode capable file archive Pin
vdubgeek20-May-04 11:15
vdubgeek20-May-04 11:15 
GeneralRe: Looking for Unicode capable file archive Pin
Anthony_Yio20-May-04 18:11
Anthony_Yio20-May-04 18:11 
GeneralRe: Looking for Unicode capable file archive Pin
vdubgeek21-May-04 2:57
vdubgeek21-May-04 2:57 
GeneralPicture Control Question Pin
rmnowick20-May-04 10:27
rmnowick20-May-04 10:27 
GeneralRe: Picture Control Question Pin
BlackDice20-May-04 10:53
BlackDice20-May-04 10:53 
GeneralRe: Picture Control Question Pin
rmnowick20-May-04 11:10
rmnowick20-May-04 11:10 
GeneralRe: Picture Control Question Pin
BlackDice20-May-04 11:12
BlackDice20-May-04 11:12 
GeneralRe: Picture Control Question Pin
BlackDice20-May-04 11:11
BlackDice20-May-04 11:11 
here's some sample code also. I just put this in my OnButton1() function just to demonstrate. but here's a red rectangle being drawn. Of course you would have to put this in your paint event or something like that.

CClientDC dc(this);
		CBrush b( RGB(255, 0, 0));
		CBrush* pOldBrush = dc.SelectObject(&b);
		dc.Rectangle(100,100,110,110);
		dc.SelectObject(pOldBrush);


If it's broken, I probably did it

bdiamond
GeneralResizing windows Pin
dart1320-May-04 9:26
dart1320-May-04 9:26 
GeneralRe: Resizing windows Pin
BlackDice20-May-04 9:40
BlackDice20-May-04 9:40 
GeneralRe: Resizing windows Pin
dart1320-May-04 10:31
dart1320-May-04 10:31 
GeneralRe: Resizing windows Pin
Curi0us_George20-May-04 10:13
Curi0us_George20-May-04 10:13 
GeneralRe: Resizing windows Pin
dart1320-May-04 10:42
dart1320-May-04 10:42 
GeneralRe: Resizing windows Pin
Curi0us_George20-May-04 11:05
Curi0us_George20-May-04 11:05 
GeneralRe: Resizing windows Pin
Dimitris Vasiliadis24-May-04 11:27
Dimitris Vasiliadis24-May-04 11:27 
Generalreading window messages Pin
Anonymous20-May-04 9:25
Anonymous20-May-04 9:25 
GeneralRe: reading window messages Pin
vladfein20-May-04 14:40
vladfein20-May-04 14:40 
GeneralRe: reading window messages Pin
Anonymous21-May-04 5:26
Anonymous21-May-04 5:26 
Generalstarting with MFC adding stuff to the MainFrame Pin
kfaday20-May-04 9:22
kfaday20-May-04 9:22 
GeneralRe: starting with MFC adding stuff to the MainFrame Pin
Antti Keskinen20-May-04 11:19
Antti Keskinen20-May-04 11:19 
GeneralRe: starting with MFC adding stuff to the MainFrame Pin
kfaday21-May-04 1:59
kfaday21-May-04 1:59 
GeneralWindows/Unix (platform independence) code Pin
Mash20-May-04 8:39
Mash20-May-04 8:39 
GeneralRe: Windows/Unix (platform independence) code Pin
Giles20-May-04 8:58
Giles20-May-04 8:58 
GeneralRe: Windows/Unix (platform independence) code Pin
Mash20-May-04 9:48
Mash20-May-04 9:48 
GeneralRe: Windows/Unix (platform independence) code Pin
Curi0us_George20-May-04 10:17
Curi0us_George20-May-04 10:17 

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.