Forum: C++ Aug 6th, 2009 |
| Replies: 7 Views: 223 Sort of, the first one simply tells the system to request a repaint given those conditions. The UpdateWindow(hWnd); function on the other hand, allows you to request an update when you need one. If... |
Forum: C++ Aug 5th, 2009 |
| Replies: 7 Views: 223 WindowClass.style = CS_HREDRAW | CS_VREDRAW
This causes the system to call request a repaint of the window when the width of the window is changed (CS_HREDRAW) or the height of the window is changed... |
Forum: C++ Jul 25th, 2009 |
| Replies: 3 Views: 364 The default constructor is just used when no other constructors have been declared. To create a no-arg constructor (override the default constructor):
class MyClass {
public:
MyClass();
};
... |
Forum: C++ Jul 3rd, 2009 |
| Replies: 3 Views: 218 A few things: first of all, make the second if statement else-if; second, make the last else-if statement else. Also, pushups should be >50/>30. You should be more carefull with your brackets too:... |
Forum: C++ Jun 11th, 2009 |
| Replies: 2 Views: 425 I believe what you are looking for is the EnumPrinters function in the Windows API. http://msdn.microsoft.com/en-ca/library/dd162692(VS.85).aspx |
Forum: C++ Dec 3rd, 2008 |
| Replies: 6 Views: 1,322 I'm not very experienced with threads in C++, but from what you said, it shouldn't make a difference in the amount of time it takes to empty the buffer. Have you tried it on another computer? And... |
Forum: C++ Dec 1st, 2008 |
| Replies: 3 Views: 562 And did you download the SDK? |