Greetings,
I followed Conan's guide to chapter 3 and I must say its been extremely helpful as I have no prior knowledge of Visual C++.
Now I have a question, when I have drawn text using the above command and the following statement
HDC hDC = m_background->GetDC();
how do I delete the line of text and replace with another line? I mean, say if I touch the stylus to the screen, I want to remove the line of text and replace with another sentence?
I have tried the following line but I've never gotten it to output:
HDC hDC = display->GetBackBuffer()->GetDC( false );
What exactly does that command do?
What is the difference between display, screen, and surface?
Your help is much appreciated. Thanks!
masCh
I followed Conan's guide to chapter 3 and I must say its been extremely helpful as I have no prior knowledge of Visual C++.
Now I have a question, when I have drawn text using the above command and the following statement
HDC hDC = m_background->GetDC();
how do I delete the line of text and replace with another line? I mean, say if I touch the stylus to the screen, I want to remove the line of text and replace with another sentence?
I have tried the following line but I've never gotten it to output:
HDC hDC = display->GetBackBuffer()->GetDC( false );
What exactly does that command do?
What is the difference between display, screen, and surface?
Your help is much appreciated. Thanks!
masCh