Click here to Skip to main content
15,898,010 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using bth Open GL and MFC.

When on OpenGl Application is loaded ( code ..... in between )

g_hDC = GetDC( g_hWnd );
PixelFormat = ChoosePixelFormat( g_hDC, &pfd );
SetPixelFormat( g_hDC, PixelFormat, &pfd);
g_hRC = wglCreateContext( g_hDC );
wglMakeCurrent( g_hDC, g_hRC );


At this point wglMakeCurrent( g_hDC, g_hRC ); system cursor length is clipped (I think internally).

After this if I try to load systemcursor with a string of large size ( 8 to 10 char) in MFC ..... the cursor is not shown to full length.

i am loading the systemcursor with bitmap(which is not shown to its full length)
Posted
Updated 1-Sep-10 23:04pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900