B
Boris Nienke
OK, in detail:
On of the very first things i like to do when the app is started, is to
capture the screen.
This means
- i don't want to change the input-panel-style
- i don't want to have a WaitCursor visible on screen.
With the .Net-Studio i've created a new application. One Form is created by
the wizard. Then i have deleted the line "Application.run(new Form1())" and
replaced it with a call to my subroutine (to capture the screen for
example).
but: at this point i still have the WaitCursor visible! Setting it to
Cursors.Default doesn't help. Calling Application.Process() (or something
like that - i'm not at home to look) doesn't help.
So i tried it by calling the Form1 again and to my shot in the
loaded-event. To avoid form-painting i've override the OnPaint and
OnPaintBackground.
This way i'm able to disable the WaitCursor (set it to Default and then let
the application process messages) but the input panel is disabled (which
would be OK for a standard application but not if you try to capture the
screen)
Do you understand my problem?
The best solution for me would be to disable the WaitCursor and working
without any form... but how?
Boris
On of the very first things i like to do when the app is started, is to
capture the screen.
This means
- i don't want to change the input-panel-style
- i don't want to have a WaitCursor visible on screen.
With the .Net-Studio i've created a new application. One Form is created by
the wizard. Then i have deleted the line "Application.run(new Form1())" and
replaced it with a call to my subroutine (to capture the screen for
example).
but: at this point i still have the WaitCursor visible! Setting it to
Cursors.Default doesn't help. Calling Application.Process() (or something
like that - i'm not at home to look) doesn't help.
So i tried it by calling the Form1 again and to my shot in the
loaded-event. To avoid form-painting i've override the OnPaint and
OnPaintBackground.
This way i'm able to disable the WaitCursor (set it to Default and then let
the application process messages) but the input panel is disabled (which
would be OK for a standard application but not if you try to capture the
screen)
Do you understand my problem?
The best solution for me would be to disable the WaitCursor and working
without any form... but how?
Boris