Re: Keyboard shortcuts

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



After more testing it seems that sometimes it is quick other times
slow to load the app.

So what I have now done is put the app in th system tray
and hidden then form. Also registered a hotkey when the
app loads and on the hotkey show the form and on the escape
key hide the form.

And this works great.

"Rotsey" <malcolm_smith@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uCQvyqc8HHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
Well I have tested with a skeleton form and the same delay esists.

What I want is the same response the Ctrl Alty Del has when
opening task manager.

Is there away of calling Win32 API to achieve that performance???


"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:u2kilhV8HHA.5504@xxxxxxxxxxxxxxxxxxxxxxx
rotsey,

Well, it very well could have to do with the initialization of the
form. Is there anything in the constructors for the form, or the user
controls created on the form that could cause a delay? What about the
Load events of the controls hosted on the form, or the Load event of the
form itself?

There are many places where slowdown can happen, and it is most likely
an issue with code you have written which either processes the shortcut
key, or opens the form, but without seeing any of it, we can't tell.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Rotsey" <malcolm_smith@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ue71POV8HHA.2004@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have windows app that I have a windows keyboard shortcut for.

I am finding that the shortcut is not all that responsive.

ie it takes sometimes more than a 5 seconds for form
to appear or longer.

Is this something I can improve or is it the windows
messaging system that is causing the delay.

I would like it to be 2 seconds or so.

rotsey








.



Relevant Pages

  • Re: standard file extensions for exported apple dos files ?
    ... use a Windows shortcut with a "startup" argument defined. ... arguments and open the appropriate disk image and start the file inside. ... For example, if you create a shortcut to CiderPress, then right-click on ... the load address - it looks like it's possible to end up with the load ...
    (comp.sys.apple2)
  • Re: Internet Explorer Full Screen?
    ... That IE load and issues an error ... That command works on every computer I use at home and work. ... Have you tried rebooting into Windows' safe mode? ... You have one shortcut to a *program*. ...
    (microsoft.public.windowsxp.customize)
  • Re: Mobile Development for WM 5 with one main exe controlling mult
    ... I'm trying to convince them with what you said about the load strategy, ... it could be due to the fact that all the loading are done ... App size has nothing ... split the whole program from one exe to multiple. ...
    (microsoft.public.pocketpc.developer)
  • Re: Reprise: Pended IOCtrl + LoadLibrary == Deadlock?
    ... >3) launching msdev.exe from the shell and from within windbg. ... >load (from within msdev) ionwizrd.exe ... When I hit F5 to run my app the following occurs: ...
    (microsoft.public.development.device.drivers)
  • Re: Whose Fish?
    ... That would be much more in line with your Table Oriented Programming ... cart structure/object floating around in the app. ... intuitive way, as it is with a good object model, ... I might load CustomerInfo with read only ID ...
    (comp.object)