Search found 114 matches: activating

Return to advanced search

Re: Window transition event

Dear Yuri, Use the WM_ACTIVATE message in the application's main window procedure. This message indicates window activation changes (activating/deactivating). Combine with the LOWORD of wParam to check the activation state (e.g., WA_INACTIVE for background). You may need to inherit a Class ...
by Antonio Linares
Fri Mar 15, 2024 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window transition event
Replies: 2
Views: 503

Re: EXCEL description: (DOS Error -2147352567) WINOLE/1007 Imp

Hi Jimmy

REQUEST HB_CODEPAGE_UTF8
HB_CDPSELECT("UTF8")


activating utf8 seems to no longer give error

before it was

REQUEST HB_CODEPAGE_ITWIN
HB_CDPSELECT("ITWIN")

I do not understand excel takes the window setting
TIA
by mauri.menabue
Tue Aug 01, 2023 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXCEL description: (DOS Error -2147352567) WINOLE/1007 Imp
Replies: 4
Views: 250

Re: Hide a Checkbox from Resource.

I hide them using the "ON INIT" when activating the dialog. Seemed to work well.
by byron.hopp
Mon Jul 03, 2023 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hide a Checkbox from Resource.
Replies: 7
Views: 379

Re: how to get Information from ::aControls

hi,
When we create controls on a dialog, the controls are created only when the dialog is initialized.
So, hWnd is valid only after activating the dialog.

ah ... ok, thx
have to over-think concept
by Jimmy
Thu Mar 30, 2023 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Information from ::aControls
Replies: 2
Views: 243

Re: how to get Information from ::aControls

When we create controls on a Window, all controls are fully created and so have valid hWnd.
When we create controls on a dialog, the controls are created only when the dialog is initialized. So, hWnd is valid only after activating the dialog.
by nageswaragunupudi
Thu Mar 30, 2023 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Information from ::aControls
Replies: 2
Views: 243

Jump into edit mode

... has only one single row. How can I jump directly into edit mode of the first left cell when the dialog opens? I tried the ON INIT clause when activating the dialog. But oBrw:aCols[1]:SetFocus() does of course not work. Anyone who give me a hint?
by Detlef
Wed Mar 09, 2022 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Jump into edit mode
Replies: 6
Views: 534

Re: How many control per dialog?

... but not found. If you have any idea, most welcome. Thanks for your question. Just curious... Why not use the cell content of the browse for activating a action ? You prefer a button action. Is this because the buttons seems to be on top en overlapping the cells ?
by dutch
Fri Nov 19, 2021 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How many control per dialog?
Replies: 21
Views: 1290

Re: How many control per dialog?

Just curious...

Why not use the cell content of the browse for activating a action ?

You prefer a button action. Is this because the buttons seems to be on top en overlapping the cells ?
by Marc Venken
Fri Nov 19, 2021 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How many control per dialog?
Replies: 21
Views: 1290

New FTDN August/Agosto 2020 (FWH 20.08)

... created on dialogs, it is no more necessary to use the methods in the on init clause of dialog. It is now possible to use them even before activating the dialog. * TGraph.prg: Fix: DATA lFlat is not initialized in case of Redefine() resulting in runtime error. Fixed. * Enhancement: MENUITEM ...
by Antonio Linares
Sun Sep 20, 2020 11:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2020 (FWH 20.08)
Replies: 3
Views: 2304

Re: Minimizar varios formularios a la vez

Add this code to the main window, before activating it.   oWnd:bResized  := <|nType|      local aWnd  := GetAllWin()      if nType == 1         AEval( aWnd, { |o| If( o:ClassName == "TWINDOW" .and. o:hWnd != ...
by Compuin
Wed Jul 24, 2019 1:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Minimizar varios formularios a la vez
Replies: 13
Views: 1039

Re: Minimizar varios formularios a la vez

Add this code to the main window, before activating it.   oWnd:bResized  := <|nType|      local aWnd  := GetAllWin()      if nType == 1         AEval( aWnd, ...
by nageswaragunupudi
Wed Jul 24, 2019 12:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Minimizar varios formularios a la vez
Replies: 13
Views: 1039

Re: Activacion de button clausula when

Before activating every child window add this line
Code: Select all  Expand view

oChildWnd:bPostEnd := { || WndMain():oBar:AEvalWhen() }
ACTIVATE WINDOW oChildWnd
 
by nageswaragunupudi
Sun Jul 14, 2019 12:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Activacion de button clausula when
Replies: 4
Views: 576

Re: Unicode characters displaying as ANSI on windows title bar

... Any idea or it's bug? You may be losing it when resizing, but not when moving. The most likely reason is that you are releasing the Icon after Activating the mdichild window like this: ACTIVATE WINDOW oMdiChildRELEASE ICON oIco  Please do not do that. Instead do this: oMdiChild:bPostEnd := ...
by richard-service
Sun Jul 07, 2019 7:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode characters displaying as ANSI on windows title bar
Replies: 11
Views: 1860

Re: Unicode characters displaying as ANSI on windows title bar

... Any idea or it's bug? You may be losing it when resizing, but not when moving. The most likely reason is that you are releasing the Icon after Activating the mdichild window like this: ACTIVATE WINDOW oMdiChildRELEASE ICON oIco  Please do not do that. Instead do this: oMdiChild:bPostEnd ...
by nageswaragunupudi
Sun Jul 07, 2019 4:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode characters displaying as ANSI on windows title bar
Replies: 11
Views: 1860

New FTDN May/Mayo 2019 (FWH 19.05)

... Fixed. * New CLASSDATA bSetup in class TPreview. If assigned, the codeblock is evaluated with oPreview and oWnd as parameters just before activating the preview window. Example Usage: RPrevUserBtns( nil, 2007 ) TPreview():bSetup := <|oPreview, oWnd| WITH OBJECT oWnd:oBar :aControls[ ...
by Antonio Linares
Mon Jun 03, 2019 12:54 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3161
Next

Return to advanced search