Window is not at top

forum.cdk (1998-2005) & forum.td.cdk (2005-2010)
Pierpaolo Simoncini

Window is not at top

Post by Pierpaolo Simoncini » 13 Nov 2002, 15:38

 Posted by:  Pierpaolo Simoncini 

Hi Guys,
our problem is born when we modified our wizard, developed by us, to
manage custom properties added to quick objects. Our wizard have the
annoyng problem in subject. Same problem have also the CDK samples BUT
old version of our ClasProp application NOT (it don't give the focus...)

Our configuration is:

O.S.: Windows 2000 Professional SP 2
CTD : 1.5.1 ptf 6

Thanks for your time

Pierpaolo Simoncini
DOLPHIN s.r.l.
ITALY

bm

Re: Window is not at top

Post by bm » 13 Nov 2002, 15:53

 Posted by:  bm 

Did you have something to Create a window with hWndNull in "On
SAM_AppStartup" ?
Then change hWndNULL to CDK_hWndOwner.

Pierpaolo Simoncini

Re: Window is not at top

Post by Pierpaolo Simoncini » 18 Nov 2002, 10:10

 Posted by:  Pierpaolo Simoncini 

In article , bm@comnet-isdn.de
says...
Hi BM,
thank for your reply but...

this is my start point

On SAM_AppStartup
Call CDK_App.InitializeFramework( )
Call CDK_App.DisplayModalWindow( )
On SAM_AppExit
Call CDK_App.CloseApp( )
Call CDK_App.CloseFrameWork( )

The window is opened by association made in QuickObject Editor menu item
of CDK IDE

Any more idea?

Thanks for your time

Pierpaolo Simoncini
DOLPHIN s.r.l.
ITALY

Pierpaolo Simoncini

Re: Window is not at top

Post by Pierpaolo Simoncini » 18 Nov 2002, 10:10

 Posted by:  Pierpaolo Simoncini 

In article , bm@comnet-isdn.de
says...
Hi Gusys,
for sample of my problem run VisHost app in CDK\SAL\SAMPLES dir located
under your CDK dir

Pierpaolo Simoncini
DOLPHIN s.r.l.
ITALY

bm

Re: Window is not at top

Post by bm » 18 Nov 2002, 11:43

 Posted by:  bm 

The solutions is to change cbcdk.apl :
Class cdkItem Function DisplayModalWindow

!!CB!! 129
Call SalModalDialog(sDlg, hWndNULL )

to

!!CB!! 129
Call SalModalDialog(sDlg, CDK_hWndOwner )

Pierpaolo Simoncini

Re: Window is not at top

Post by Pierpaolo Simoncini » 21 Nov 2002, 09:21

 Posted by:  Pierpaolo Simoncini 

Thank you BM! Work fine!

Pierpaolo Simoncini
DOLPHIN s.r.l.
ITALY

Return to “td.cdk”

Who is online

Users browsing this forum: [Ccbot] and 2 guests