[Pidgin] #16088: I cannot use shift or caps lock in chat

Pidgin trac at pidgin.im
Mon Mar 3 17:41:42 EST 2014


#16088: I cannot use shift or caps lock in chat
--------------------------+--------------------------
 Reporter:  hayhackerall  |      Owner:  EionRobb
     Type:  patch         |     Status:  new
Milestone:                |  Component:  unclassified
  Version:  2.10.9        |   Keywords:
--------------------------+--------------------------
 defect #14852 after i see the source code i work with simple code
 to solve this problem here is my code:


 #include <stdio.h>
 #include <Windows.h>
 main()
 {
 int i,j;
 // for caps//
 i = GetKeyState(0x14);
 //this for shift key//
 j= GetKeyState(0x15);
 while(j !=0)
 {
 MessageBox(0,L"sheft key is on",L"shift jey check",0);
 j= GetKeyState(0x15);
 }
 if(i == 0)
 {
 MessageBox(0,L"Caps Lock is off",L"CapsLock check",0);
 }else
 {
 MessageBox(0,L"Caps Lock is on",L"CapsLock check",0);
 }
 }

-- 
Ticket URL: <https://developer.pidgin.im/ticket/16088>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list