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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Cogz

  1. Cogz

    Incompatible types?

    Great, it works. tnx Griffyn
  2. Cogz

    get any key in other windows apps

    Replace ---- //now simulate alt+tab keybd_event(Key, VK_MENU, 0, 0); keybd_event(Key, VK_TAB, 0, 0); keybd_event(Key, VK_TAB, KEYEVENTF_KEYUP, 0); keybd_event(Key, VK_MENU, KEYEVENTF_KEYUP, 0); ---- with the action you will take.
  3. Cogz

    get any key in other windows apps

    I came accross this post in Experts Exchange by BTecho while searching for application wide hotkeys, this is for CTRL + b for anything else change the MOD_CONTROL, and ord('c') to whatever you want: //In the main form's OnCreate event //assign the hotkey handler If not RegisterHotkey (Handle...
  4. Cogz

    disable keyboard

    You would also want to disable the start key, start + D, etc.
  5. Cogz

    Incompatible types?

    In the line: lstbx is a listbox. --- if lstbx1.ItemIndex + 1 > lstbx1.Count and lstbx1.Count > 0 then --- I get "incompatible types" error. So now I would either have to use an object property with a constant value of 0, or waste memory by creating variables that hold the needed...
  6. Cogz

    Aplication Wide Hotkeys

    Tnx TimSNL It works perfectly
  7. Cogz

    Aplication Wide Hotkeys

    I have a MDI form with multiple sub forms. When ever the MDI form has focus and an arrow key is pressed, I want procedure x to be called. Does something like an application wide KeyDown event exist?

Part and Inventory Search

Back
Top