@pb WOW that was easy...I'm not sure where I missed that SelectObject(wxNullBitmap) in my searching/reading, bewildering but of course it works.
About the xsrc, ysrc, it was how the guy coded it in the video. Is there a reason he used that instead of (0,0)?
The Thanks for the quick reply!
Search found 3 matches
- Tue Jun 16, 2020 9:38 pm
- Forum: C++ Development
- Topic: Copy/Pasting using wxClientDC wxMemoryDC produces black box in ms paint
- Replies: 3
- Views: 354
- Tue Jun 16, 2020 3:34 pm
- Forum: C++ Development
- Topic: Copy/Pasting using wxClientDC wxMemoryDC produces black box in ms paint
- Replies: 3
- Views: 354
Copy/Pasting using wxClientDC wxMemoryDC produces black box in ms paint
I have this line of code and I have repeatedly looked through the samples (dnd, clipboard, etc) to see if I'm perhaps missing something and I've tried most everything but the paste produces the same black box in ms paint. I've worked on this for a while, going on three weeks now prior to asking this...
- Wed Jun 03, 2020 6:21 pm
- Forum: C++ Development
- Topic: error: no matching function to call
- Replies: 3
- Views: 1178
Re: error: no matching function to call
Since I've been messing around with this video also, the problem is the font background color. While the documentation states that on windows you need to choose something other than the system font, it doesn't say how to accomplish it. I wish they had code examples for every piece of documentation l...