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

C / C++ / MFC

 
GeneralNeed a fancy name for a 'combined' variable Pin
TrueTom26-Dec-04 2:42
TrueTom26-Dec-04 2:42 
GeneralRe: Need a fancy name for a 'combined' variable Pin
User 665826-Dec-04 7:52
User 665826-Dec-04 7:52 
GeneralRe: Need a fancy name for a 'combined' variable Pin
TrueTom27-Dec-04 1:35
TrueTom27-Dec-04 1:35 
GeneralRe: Need a fancy name for a 'combined' variable Pin
TrueTom27-Dec-04 2:16
TrueTom27-Dec-04 2:16 
Generalupload files Pin
StoreErin26-Dec-04 1:26
StoreErin26-Dec-04 1:26 
GeneralRe: upload files Pin
Neville Franks26-Dec-04 9:56
Neville Franks26-Dec-04 9:56 
GeneralRe: upload files Pin
StoreErin26-Dec-04 13:26
StoreErin26-Dec-04 13:26 
GeneralpictureBox question. Pin
Link260025-Dec-04 22:31
Link260025-Dec-04 22:31 
Merry Christmas, fellow programmers.

I have a question about the pictureBox. I'm writing a Chechers game using Managed C++ and Windows Form. I have a Checkerboard picture, named "checkerBoard.png". Then I added a pictureBox in Windows Form, and it gives me a line of code in the InitializeComponent() method like this:

this->pictureBox->Image = (__try_cast<system::drawing::image *="">(resources->GetObject(S"pictureBox.Image")));



My question is, how do I draw another pictures on the pictureBox? I have other Checkers images that needed to be drawn on top of the pictureBox. That line of code looks to me like it's been drawn in the Windows Form. How do I draw other image on top of the pictureBox, and those checkers images need to be redrawn at runtime under certain conditions.




Thanks
QuestionHow to use message handler in MFC regular Dll? Pin
tttyip25-Dec-04 20:25
tttyip25-Dec-04 20:25 
AnswerRe: How to use message handler in MFC regular Dll? Pin
User 665825-Dec-04 22:56
User 665825-Dec-04 22:56 
QuestionWhere can I get the Microsoft Windows .NET DDK? Pin
momer25-Dec-04 20:04
momer25-Dec-04 20:04 
AnswerRe: Where can I get the Microsoft Windows .NET DDK? Pin
TrueTom26-Dec-04 2:45
TrueTom26-Dec-04 2:45 
Generalresize child frame window Pin
Anonymous25-Dec-04 14:50
Anonymous25-Dec-04 14:50 
GeneralQuestion Regarding ToolBarwindow32 Pin
sdssd25-Dec-04 11:44
sdssd25-Dec-04 11:44 
QuestionBelieve in yourself? Pin
Anonymous25-Dec-04 10:53
Anonymous25-Dec-04 10:53 
AnswerRe: Believe in yourself? Pin
alex.barylski25-Dec-04 14:45
alex.barylski25-Dec-04 14:45 
GeneralRe: Believe in yourself? Pin
John R. Shaw26-Dec-04 12:59
John R. Shaw26-Dec-04 12:59 
AnswerRe: Believe in yourself? Pin
Henry miller27-Dec-04 3:45
Henry miller27-Dec-04 3:45 
Generalm_pMainWnd in a multi-dialog based app Pin
Penguen Efendi25-Dec-04 10:14
Penguen Efendi25-Dec-04 10:14 
QuestionWhat is wrong with this template? Pin
sacoskun25-Dec-04 8:32
sacoskun25-Dec-04 8:32 
AnswerRe: What is wrong with this template? Pin
Chris Losinger26-Dec-04 3:52
professionalChris Losinger26-Dec-04 3:52 
AnswerRe: What is wrong with this template? Pin
John R. Shaw26-Dec-04 13:13
John R. Shaw26-Dec-04 13:13 
QuestionHow to use SetTimer( ) when I create MFC Regular Dll? Pin
tttyip25-Dec-04 6:13
tttyip25-Dec-04 6:13 
AnswerRe: How to use SetTimer( ) when I create MFC Regular Dll? Pin
Ravi Bhavnani25-Dec-04 6:32
professionalRavi Bhavnani25-Dec-04 6:32 
GeneralControl focus question Pin
Deian25-Dec-04 5:09
Deian25-Dec-04 5:09 

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.