GetWindowDC() problem
-
Hello guys I am trying to get the HDC for a form. I am calling GetWindowDC for this, but I am only getting client DC and not the window DC :-( I am not getting the title bar of the form :( Any help? Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
-
Hello guys I am trying to get the HDC for a form. I am calling GetWindowDC for this, but I am only getting client DC and not the window DC :-( I am not getting the title bar of the form :( Any help? Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
My bad or what :-O The problem was not with GetWindowDC. I was later calling GetClientRect instead of GetWindowRect Nish :-O
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
-
My bad or what :-O The problem was not with GetWindowDC. I was later calling GetClientRect instead of GetWindowRect Nish :-O
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
LOL, I was trying to figure out how GetWindowDC could give you the wrong DC :) James Simplicity Rules!
-
LOL, I was trying to figure out how GetWindowDC could give you the wrong DC :) James Simplicity Rules!
James T. Johnson wrote: LOL, I was trying to figure out how GetWindowDC could give you the wrong DC Pardon me doc, but I am a GDI newbie and I don't intend to change that either :-) Nish p.s. expect more pestering questions from moi in future
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday