activate the shift and Alt keys
-
Hi all How can i change all the key from lower case to upper when ever clicking a button(which is owner draw) on my dialog box which is created in an SDI application, and can u also tell me the functions to be used to get the button status and that which can be passed in my send message such as void MyDialog::OnBUTTONLShift() { } whenever shift button is pressed with mouse all the caps should be shown else all small case charac should be shown on my owerdraw buttons where the code for abutton is written as follow void MyDialog::OnButton90() { CTrailView *pView = (CTrailView *)((CMainFrame*)GetParent())->GetActiveView(); pView->SendMessage(WM_KEYDOWN, 90, 1); pView->SendMessage(WM_CHAR,90,1); pView->SendMessage(WM_KEYUP, 90, 1); } Request to all to continue this