Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. is it the right code?

is it the right code?

Scheduled Pinned Locked Moved Managed C++/CLI
comquestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    i saved lparam and wparam values when a key (say U)pressed on a perticuler edit box. i want to use these values of lparam and wparam again on different edit box.in order to see that key (say U) . i have to type caste wparam and lparam into int32 thats why i have type caste into WPARAM and LPARAM. is that code is correct or not for that purpose? is there any change in logic if yes then plz tell? LPEVENTMSG lpEvent= (LPEVENTMSG)lParam; PostMessage(different_hWnd, lpEvent->message,(WPARAM)wParam,(LPARAM)lParam); r00d0034@yahoo.com

    C 1 Reply Last reply
    0
    • I imran_rafique

      i saved lparam and wparam values when a key (say U)pressed on a perticuler edit box. i want to use these values of lparam and wparam again on different edit box.in order to see that key (say U) . i have to type caste wparam and lparam into int32 thats why i have type caste into WPARAM and LPARAM. is that code is correct or not for that purpose? is there any change in logic if yes then plz tell? LPEVENTMSG lpEvent= (LPEVENTMSG)lParam; PostMessage(different_hWnd, lpEvent->message,(WPARAM)wParam,(LPARAM)lParam); r00d0034@yahoo.com

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Why do you ask the same questions over and over, just rewording them ? I'd like to know why you want to control/hijack the login process. I'm not going to give any more help on this neverending quest of yours unless I am convinced it does not have a malicious intent. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups