Click here to Skip to main content
15,906,645 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to replace multiple spaces in a string to single space. Pin
jerry_pendergraft23-Oct-06 11:00
jerry_pendergraft23-Oct-06 11:00 
GeneralRe: How to replace multiple spaces in a string to single space. Pin
Dustin Metzgar23-Oct-06 11:18
Dustin Metzgar23-Oct-06 11:18 
QuestionCancelling current printing job from printer spool Pin
pnpfriend20-Oct-06 11:32
pnpfriend20-Oct-06 11:32 
QuestionShuffling elements in a control array... [modified] Pin
new_phoenix20-Oct-06 11:06
new_phoenix20-Oct-06 11:06 
AnswerRe: Shuffling elements in a control array... Pin
Stefan Troschuetz20-Oct-06 22:13
Stefan Troschuetz20-Oct-06 22:13 
QuestionRe: Here is a little compounding issue... Pin
new_phoenix21-Oct-06 4:36
new_phoenix21-Oct-06 4:36 
AnswerRe: Here is a little compounding issue... Pin
Stefan Troschuetz22-Oct-06 0:49
Stefan Troschuetz22-Oct-06 0:49 
Questioncontrol visible property????? Pin
Small Rat20-Oct-06 8:57
Small Rat20-Oct-06 8:57 
Hi,

I want to control the show/hide to another program. I use Process to start the program and make the initial window status Minimized. then I use Process to get the program main window handle and use windows API showwindow to hide the program i just started.

Everything looks fine but one thing. some of the control's visible property (or event, like viisble changed) in the started program are not correct. for example, the button is visible in the GUI, you can click and execute something, but you always get false when you check (get) the visible value . but I can use windows Api like iswindowvisible to get the right visible value.

I can use API to set/get the right value, but the related event fired are not correct!!

BTW, the program I started is created by C# (VS 2005).

Does anyone have some idea about this.

Thanks a lot in advance.




Alan Shen

MCAD for .NET Version
^~^~^~^~^~^~^~^~^~^~^
Great idea is the beginging of success!

QuestionManipulating MP3 files Pin
Ross Petersen20-Oct-06 8:55
Ross Petersen20-Oct-06 8:55 
AnswerRe: Manipulating MP3 files Pin
David Knechtges20-Oct-06 9:20
David Knechtges20-Oct-06 9:20 
QuestionRandom Number Generator Pin
Belfast Child20-Oct-06 8:33
Belfast Child20-Oct-06 8:33 
AnswerRe: Random Number Generator Pin
eggsovereasy20-Oct-06 8:42
eggsovereasy20-Oct-06 8:42 
GeneralRe: Random Number Generator Pin
Belfast Child20-Oct-06 9:28
Belfast Child20-Oct-06 9:28 
GeneralRe: Random Number Generator Pin
Wjousts20-Oct-06 9:33
Wjousts20-Oct-06 9:33 
GeneralRe: Random Number Generator Pin
Belfast Child20-Oct-06 10:00
Belfast Child20-Oct-06 10:00 
GeneralRe: Random Number Generator Pin
Stefan Troschuetz20-Oct-06 21:54
Stefan Troschuetz20-Oct-06 21:54 
GeneralRe: Random Number Generator Pin
User 665820-Oct-06 9:49
User 665820-Oct-06 9:49 
GeneralRe: Random Number Generator Pin
Guffa20-Oct-06 12:14
Guffa20-Oct-06 12:14 
Questionhow to use progressbar for copying file ? Pin
hdv21220-Oct-06 6:13
hdv21220-Oct-06 6:13 
AnswerRe: how to use progressbar for copying file ? Pin
Vega0220-Oct-06 6:57
Vega0220-Oct-06 6:57 
GeneralRe: how to use progressbar for copying file ? Pin
hdv21220-Oct-06 8:00
hdv21220-Oct-06 8:00 
GeneralRe: how to use progressbar for copying file ? Pin
Christian Graus20-Oct-06 8:10
protectorChristian Graus20-Oct-06 8:10 
GeneralRe: how to use progressbar for copying file ? Pin
Vega0220-Oct-06 8:11
Vega0220-Oct-06 8:11 
QuestionHelp Pin
jluis_hdezg20-Oct-06 6:08
jluis_hdezg20-Oct-06 6:08 
AnswerRe: Help Pin
Vega0220-Oct-06 7:00
Vega0220-Oct-06 7:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.