Results 1 to 3 of 3

Thread: Vb.Net sendmessage() equivilent????

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2002
    Posts
    26

    Vb.Net sendmessage() equivilent????

    Hi, I am trying to write a little app that sits in the systray and monitors key presses for the "ctrl-z" combination, then minimize the window of an external process. Then maximize it again once finished what I want to do.

    The external program is full screen (hasnt got and min/ maximize controls on it)

    In Vb6 I could use the sendmessage() api call to tell the app the minimize itself.... but I dont seem to be able to find anything in VB.NET. I have the process object figured out but can't seem to find out how to minimize the processes window.

    Anyone got any ideas?

    Thanks

    PS I tried the VB6 code in .net and it doesnt error... but then it doesnt minimize the window either

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    try changing the api's longs to integers
    \m/\m/

  3. #3
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    Imogen how far did you get with this, its looks like something i could benefit from as for some of my data capture software, however i would want to minimize the active window on ctl c (copy) and then maximise it again on ctl v (paste)

    cheers Carl
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width