Hi Chris,
I'm not sure if I've managed to express our problem properly.
What we are struggling with is that we have a Powerbuilder process that one has published on RDP,
and when then starts other processes (ex. Word, excel ..) on the machine that this pb prosess is published on
it is often one cannot manage to get back focus on the powerbuilder application again.
Although one clicks on the icon on the process line, the focus stays on oen of the others.
One had to minimize all other processes for the powerbuilder process to become active again.
So it seems that powerbuilder fail to become the active process without everyone else being minimized.
You suggest getfocus () and setfocus (), but I am unsure I have explained too poorly and that you may have understood me so that it is the powerbuilder process that starts the rdp process and not that it is the published rdp process.
If it turns out that I am wrong and that you have not misunderstood me, then I am still unsure where to enter Getfocus and Setfocus.
best regards
Ivan.
Where are you think I had to do a GetFokus () on leaving and a SetFocus() when returning ?
regards Ivan.