findData.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORYis not good since dwFileAttributes holds more than just one flag. Mask the other flags with logical "and" to get only the flag...
Fully agree. It would be great if during the installation of Windows we would be able to pick one of the three options:
-I'm a novice
-I'm an average user
-I'm an IT specialist
I encountered several times that error. It is caused by a bug in your application. You made some sort of mistake in one of the source files, more precisely in ANOTHER FILE THAN THE FILE WHERE THE...
Most likely you store the dialog's window handle (or the CDialog object if you use MFC) in a variable that is a local variable to the property page. When the property page is closed, all its local...
Loop through all the points of your control and call WindowFromPoint for each. You'll get the handles of all the windows that overlap your control. Subsequently substract all the regions of those...
For the first ideea, the answer is no. That's because the name of a function is not a string. From the programmer's perspective it looks like a text but from the compiler's perspective it's just the...
In order to use databases you need a database engine or a full database server. There are some for free.
Engines: MS Access Jet engine, MSDE.
Full servers: MS SQL 2005 Express Edition, MySql.
...
It might be an error regarding the controls in your dialog box. Have you tried to add the DS_NOFAILCREATE style to your dialog box ? It will create the dialog box even if errors occur.
Obviously, there is no BITMAPFILEHEADER structure because you didn't load the bitmap from a *.bmp file, you loaded it as a resource from your *.exe file.
I wonder too. Your 15 years of experience makes me feel humble, I only have 13. Of course, of Windows GDI experience. Otherwise my first contact with a computer to program it was 31 years ago.
Call GetDCEx with hwnd = NULL. You'll get a HDC for the entire screen. You'll be able to draw anywhere on the screen regardless what windows are there.