Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wide screen pixel adjustment

Status
Not open for further replies.

merlinv

Programmer
Jun 11, 2001
32
US
I have a program that doesn't seem to work well in Wide screen notebooks. I need some help on getting the screen painted and mouse locations that work. On 1024 x 768 it works ok - large pixels it does not seem to work correctly.
I could use some examples on how to get the correct programming.

Thanks
 
How are you getting the screen limits? Use SM_CXVIRTUALSCREEN and SM_CYVIRTUALSCREEN to get the correct widths. Also has your widescreen been set properly. It should be set to its maximum resolution and then increase the fonts accordingly if you can't see them. If you set them on a lower resolution, everything will look fuzzy.
 
Hi,
I have a program on VisualC++ with an IDD_PROPPAGE (declared in PropPages.cpp) containing a IDC_Button.
I create with the ClassWizard the
"IDC_Button:BN_CLICKED" function and the variable "m_Button"(CButton type). so I need to use this clicked event detection in another source file.
I just need to know the sentence to detect the clicked event on the m_Button variable corresponding to the visual button.
Thanks in advance... pinto_armindo@yahoo.fr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top