Hi Pedro,
What window isn't active? Can you post a sample code that shows your problem?
BTW, config.fpw isn't a progam but a configuration file so any VFP code in it will be ignored.
_Screen.BackColor=rgb(0,0,0)
_screen.ForeColor = rgb(192,192,192)
>Hi
>
>I have this config.fpw ( i use VFP 6 SP5 )
>
>
>MENU=OFF
>_Screen.BackColor=rgb(0,0,0)
>_screen.ForeColor = rgb(192,192,192)
>
>SCREEN=OFF
>CLEAR MACROS
>
>
>In main.prg i have one MessageBox
>This MessageBox is show in DeskTop , because scren is still off .
>This MessageBox is show ok .
>
>After i call another prg
>In this prg , i have other MessageBox
>
>This MessageBox is show in DeskTop , but the window is deactivate .
>I have click in this window to activate it .
>
>Do you know why last window of MessageBox is deactivate ?
>
>Thanks
--sb--