Search found 49 matches: awnd

Return to advanced search

Also we can "restore" the mdichild:

@ 3, 2 BUTTON "Edit" OF oOutLook2003:aDialogs[ 1 ] SIZE 80, 22 ACTION oWnd:oWndClient:aWnd[ 1 ]:Restore()

Anyhow we need to find why the WM_SYSCOMMANDs are not properly being processed
by Antonio Linares
Tue Nov 20, 2007 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MDI & Splitter Problem
Replies: 16
Views: 2808

... combine ScreenToClient() and ClientToScreen() ? Based on the (right) used hWnd, you may get the correct coordinates. > 3. Count with oWndParent:aWnd if there are MDICHILD's open (Can we add the window manually to oWndParent:oWndClient:aWnd?) > Yes, you can manually add to :aWnd > PS. I'm ...
by Antonio Linares
Sat Sep 29, 2007 8:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a MENU in MDI Child window?
Replies: 21
Views: 4180

... OK with 'SetParent()' ) 2. Save MDICHILD's position together with its Height and Width ( This is what does not work ) 3. Count with oWndParent:aWnd if there are MDICHILD's open ( Can we add the window manually to oWndParent:oWndClient:aWnd? ) Patrick PS. I'm thinking.. Would it not be more ...
by Patrick Mast
Sat Sep 29, 2007 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a MENU in MDI Child window?
Replies: 21
Views: 4180

... it is a Windows built-in class, and it manages the menu automatically > It looks like SetParent() also does not add the oWndParent:oWndClient:aWnd. Or do I need to add it manually to it? > yes, add it manually Ok, so only option is to enhance working with SetParent() correct? After SetParent(), ...
by Patrick Mast
Fri Sep 28, 2007 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a MENU in MDI Child window?
Replies: 21
Views: 4180

... it is a Windows built-in class, and it manages the menu automatically > It looks like SetParent() also does not add the oWndParent:oWndClient:aWnd. Or do I need to add it manually to it? > yes, add it manually
by Antonio Linares
Fri Sep 28, 2007 6:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a MENU in MDI Child window?
Replies: 21
Views: 4180

... ) Maybe it's simpler to modify MDIChild.prg class to accept menu? It looks like SetParent() also does not add the oWndParent:oWndClient:aWnd. Or do I need to add it manually to it? Patrick.
by Patrick Mast
Fri Sep 28, 2007 5:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a MENU in MDI Child window?
Replies: 21
Views: 4180

... ACTION oWnd:End() ENDMENU * MENUITEM "&Ventanas" MENU MENUITEM "&Titulo Vertical" ACTION oWnd:Tile() ; WHEN Len( oWnd:oWndClient:aWnd ) > 0 MENUITEM "&Titulo Horizontal" ACTION oWnd:Tile( .t. ) ; WHEN Len( oWnd:oWndClient:aWnd ) > 0 MENUITEM "&Cascada" ACTION oWnd:Cascade() ...
by Miguel Salas
Sun Apr 01, 2007 2:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
Replies: 22
Views: 6701

Actualizar controles.

... tengo que dar de alta un registro, y actualizar un browse en otra ventana. Ahora lo hago recorriendo el array de la ventana principal oWnd:oClient:aWnd, para detectar si la ventana a actualizar esta abierta, y luego recorro el array de controles de la ventana, y detecto el control a acutalizar ...
by Biel EA6DD
Fri Feb 23, 2007 11:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar controles.
Replies: 1
Views: 755

Re: Como Deshabilitar y habilitar cada módulo del menú

... ha funcionado aunque el usuario sea un palurdo. Utiliza la variable cargo que tienen los objetos Ventanas. Ejemplo if ASCAN( oWndMain:oWndClient:aWnd, {|x| x:cargo == "VENTAS"} ) == 0 // comparas si ya existe x:cargo devuelve cero // si es cero significa que x:cargo está vacio y por eso entra ...
by Armando Picon
Sat Jan 13, 2007 12:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Deshabilitar y habilitar cada módulo del menú
Replies: 8
Views: 2273

Re: Como Deshabilitar y habilitar cada módulo del menú

Utiliza la variable cargo que tienen los objetos Ventanas. Ejemplo if ASCAN( oWndMain:oWndClient:aWnd, {|x| x:cargo == "VENTAS"} ) == 0 // comparas si ya existe x:cargo devuelve cero // si es cero significa que x:cargo está vacio y por eso entra en esta rama /* Aqui viene ...
by ACC69
Fri Jan 12, 2007 10:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Deshabilitar y habilitar cada módulo del menú
Replies: 8
Views: 2273

Re: Como Deshabilitar y habilitar cada módulo del menú

Utiliza la variable cargo que tienen los objetos Ventanas. Ejemplo if ASCAN( oWndMain:oWndClient:aWnd, {|x| x:cargo == "VENTAS"} ) == 0 // comparas si ya existe x:cargo devuelve cero // si es cero significa que x:cargo está vacio y por eso entra en esta rama /* Aqui viene ...
by Armando Picon
Fri Jan 12, 2007 9:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Deshabilitar y habilitar cada módulo del menú
Replies: 8
Views: 2273

Re: Closing Windows neatly

... - is it me? Is that correct way? Hi, I use tis code to check if window with the same title is already opened: for i := 1 to len(oWnd:oWndclient:aWnd) if 'MDICHILD'$oWnd:oWndclient:aWnd[i]:classname() jcaption:=alltrim(oWnd:oWndclient:aWnd[i]:cCaption) if jcaption==alltrim(newcaption) //Alreadyhave ...
by Taavi
Fri Jan 05, 2007 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Closing Windows neatly
Replies: 6
Views: 1605

I answered 2. myself: wndMain():oWndClient:aWnd[1]:MAXIMIZE()
(thanks to James Bott's 'bring window to the front')
by Ollie
Fri Jan 05, 2007 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Closing Windows neatly
Replies: 6
Views: 1605

Closing Windows neatly

... I want to bring that window 'to the front'. I need a oWnd:Maximize() function like the oWnd:Restore() to do this? (I tried: wndMain():oWndClient:aWnd[1]:setFocus() as suggested by James Bott on this forum - but this only brings the window to the front, not maximise it if it is restored.) 3. The ...
by Ollie
Fri Jan 05, 2007 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Closing Windows neatly
Replies: 6
Views: 1605

Ventanas MDI

Hola Gente
Cuando una ventana x tiene el foco, como puedo saber numericamente, de que ventana se trata?.
Lo puedo hacer recorriendo aWnd y preguntando por el nombre de la que tiene el foco; no obstante existe alguna otra manera, mas directa?

gracias
by MarioG
Tue Nov 07, 2006 2:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ventanas MDI
Replies: 0
Views: 324
PreviousNext

Return to advanced search