Search found 152 matches: ids

Return to advanced search

Re: FW and Telegram

Mr, CharlesKwon, I have a telegram bot and I want to send messages to users from it (the IDs of these users are known).
How can I do this using your class ?
by Natter
Fri Apr 12, 2024 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW and Telegram
Replies: 13
Views: 1046

Re: How to find out the IDs of controls and types?

... NILFUNCTION G_CTRLS_COLORS_API( f_oDlgContainer )   LOCAL lc_aCtrlsAllFwh := {}   LOCAL lc_aIDsAllFwh   := {}   LOCAL lc_aCtrlsAllApi := {}   LOCAL lc_aIDsSayFwh   := {}   LOCAL ...
by karinha
Sat Jan 13, 2024 1:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

... G_CTRLS_COLORS_API(f_oDlgContainer)   Local lc_aCtrlsAllFwh               := {}   Local lc_aIDsAllFwh                 := {}   Local lc_aCtrlsAllApi               := {}   Local lc_aIDsSayFwh                 := {}  ...
by Giovany Vecchi
Thu Jan 11, 2024 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

Can Giovany make a complete and functional example of this example?

¿Puede Giovany hacer un ejemplo completo y funcional de este ejemplo?

Gracias, tks.

Regards, saludos.
by karinha
Thu Jan 11, 2024 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

...     If Upper(lc_aCtrlsAllApi[lc_iFor,1]) == "STATIC"         If hb_AScan(lc_aIDsAllFwh,lc_aCtrlsAllApi[lc_iFor,2]) == 0 ;               //Static Api > SAY Fwh not declared  ...
by Giovany Vecchi
Wed Jan 10, 2024 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

Umm, if theme Is active, the label control not change color.only ir theme Is not active.
by carlos vargas
Wed Jan 10, 2024 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

...     If Upper(lc_aCtrlsAllApi[lc_iFor,1]) == "STATIC"         If hb_AScan(lc_aIDsAllFwh,lc_aCtrlsAllApi[lc_iFor,2]) == 0 ;               //Static Api > SAY Fwh not declared  ...
by Giovany Vecchi
Wed Jan 10, 2024 2:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

... my application's skin routine. As we often do not declare "STATIC" controls, which would be SAY in FWH, I needed to know how to find the IDs of these controls. When it's ready I'll post the class and an example here again. Thank you very much
by Giovany Vecchi
Tue Jan 09, 2024 10:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

oWndFromHwnd() returns object control too. Try it !
by paquitohm
Tue Jan 09, 2024 8:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

Dear Jimmy,

nAt = AScan( ::aControls, { | oControl | oControl:hWnd == hChild } )
::aControls[ nAt ]
by Antonio Linares
Tue Jan 09, 2024 6:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

hi,
paquitohm wrote:Using oWndFromHwnd() function

thx for Answer

i do want Object of Controls not Object of Windows.
by Jimmy
Tue Jan 09, 2024 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

Hi,

Using oWndFromHwnd() function

Code: Select all  Expand view
// Example
oWnd:= oWndFromHwnd( GetActiveWindow() )
 

Regards
by paquitohm
Tue Jan 09, 2024 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

hi Antonio,
Antonio Linares wrote:Those control objects don't exist until you redefine them.

i understand but how if Control Object does exist :?:

how e.g. "re-size" a Windows with Control using EnumChildWindows() where i need Object :?:
by Jimmy
Tue Jan 09, 2024 7:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

Dear Jimmy,

Those control objects don't exist until you redefine them.

When we use Windows API EnumChildWindows() we are working at the Windows API level, not at the FWH level
by Antonio Linares
Sun Jan 07, 2024 7:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843

Re: How to find out the IDs of controls and types?

hi,

Question : how can i get Object of Child when EnumChildWindows() :?:

i think about OOP Environment where i need a Object instead of a Handle
by Jimmy
Sun Jan 07, 2024 6:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 1843
Next

Return to advanced search