Search found 45 matches: enum

Searched query: enum

by leandro
Tue Jan 21, 2025 3:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con xharbour y msvc con hbmk2
Replies: 27
Views: 2678

Re: Compilar con xharbour y msvc con hbmk2

... FiveHC64.lib(gdipfwh.obj) : error LNK2019: s¡mbolo externo GdipAddPathEllipseI sin resolver al que se hace referencia en la funci¢n "public: enum Gdiplus::Status __cdecl Gdiplus::GraphicsPath::AddEllipse(int,int,int,int)" (?AddEllipse@GraphicsPath@Gdiplus@@QEAA?AW4Status@2@HHHH@Z)
FiveHC64.lib ...
by Antonio Linares
Tue Jul 09, 2024 6:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 663

Re: GET an activeX ENUM by name

Just do a binary search inside the ActiveX DLL for xtpCalendarDayThursday and check if it is there
by Lailton
Mon Jul 08, 2024 7:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 663

Re: GET an activeX ENUM by name

Hi my friend toninhofwi,

It is something that I had in mind to verify too.
I will be checking about it and if I discover something I will share here.

:D
by Jimmy
Fri Jun 28, 2024 8:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 663

Re: GET an activeX ENUM by name

Is there a way to get an active enum value by its name:
For example: I need get "xtpCalendarDayThursday" value to use in activeX object:
type
CalendarWeekDay = TOleEnum;
you need to compare Result from Enum with Calendar define Constant
Result_Value := TOleEnum;
Do CASE
CASE xtpCalendarDaySunday ...
by toninhofwi
Fri Jun 28, 2024 4:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 663

Re: GET an activeX ENUM by name

Antonio Linares wrote:Dear Toninho,
You may use defines for each value, in example:
#define xtpCalendarDayThursday 16
Hi Antonio, Thanks for the answer.

I'm doing this, but it would be easier to get the value directly from the object.

BTW thank you :D

Regards.
by Antonio Linares
Fri Jun 28, 2024 2:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 663

Re: GET an activeX ENUM by name

Dear Toninho,

You may use defines for each value, in example:

#define xtpCalendarDayThursday 16
by toninhofwi
Fri Jun 28, 2024 12:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 663

GET an activeX ENUM by name

Hi friends,

Is there a way to get an active enum value by its name:

For example: I need get "xtpCalendarDayThursday" value to use in activeX object:

type
CalendarWeekDay = TOleEnum;
const
xtpCalendarDaySunday = 1;
xtpCalendarDayMonday = 2;
xtpCalendarDayTuesday = 4;
xtpCalendarDayWednesday = 8 ...
by Jimmy
Thu Feb 29, 2024 5:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Childlist of a Control ?
Replies: 2
Views: 366

Re: how to get Childlist of a Control ?

hi Antonio,
Antonio Linares wrote: EnumChildWindows( hWndControl, { | hWndChild | ... } )

In FWH 24.02 the codeblock must returns .T. to continue with the next child, or .F. to stop the enum
In previous FWH builds, .T. is used by default
ok, understand
THX
by Antonio Linares
Thu Feb 29, 2024 5:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Childlist of a Control ?
Replies: 2
Views: 366

Re: how to get Childlist of a Control ?

Dear Jimmy,

EnumChildWindows( hWndControl, { | hWndChild | ... } )

In FWH 24.02 the codeblock must returns .T. to continue with the next child, or .F. to stop the enum

In previous FWH builds, .T. is used by default
by Natter
Sun Jun 19, 2022 8:39 am
Forum: FiveWin for Harbour/xHarbour
Topic: Coordinates of a browser page
Replies: 10
Views: 676

Re: Coordinates of a browser page

Through Enum I get a list of visible application windows and through WMI the process name for each window.
In the loop, I bring the windows to the foreground and maximize them. At this moment I am executing a PS script in which by means of the PS method .CopyFromScreen I take a screenshot, which I ...
by Natter
Sun May 15, 2022 5:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: How many time my application is run in memory (SOLVED)
Replies: 25
Views: 2348

Re: How many time my application is run in memory

As a rule, the class name of the main window is TWindow (you can make a unique name) And using Enum() to determine the number of running instances of the task
by Natter
Mon Dec 20, 2021 12:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Process by window handle
Replies: 3
Views: 461

Re: Process by window handle

What does oWndFromHwnd have to do with it ?
I'm looking through the Enum list of windows and wanted to find out which process a particular window belongs to
by nageswaragunupudi
Wed Sep 12, 2018 3:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB RS AppendBlank (SOLVED)
Replies: 12
Views: 2180

Re: MariaDB RS AppendBlank

... note: MySql does not raise error when CHECK constraint is specified but does not use it.)

,age INT UNSIGNED CHECK &#40; age < 100 &#41; ,_ ENUM &#40; 'Male', 'Female', 'Other', 'NotSpecified' &#41;

Enum values are automatically shown with EditListBox in XBrowse and default edit dialogs ...
by mterraz
Wed Jun 07, 2017 2:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Objetos desde un OCX
Replies: 16
Views: 3430

Re: Creando Objetos desde un OCX

... 90

Antonio, el 90 esta bien, es reporte Z

Metodo:
RespuestaCerrarJornadaFiscal CerrarJornadaFiscal([in] TipoReporte Reporte);


Estructura TipoReporte :

typedef [uuid(4446DBDB-4E6C-45D3-9285-7B35871EEE8B), version(1.0)]
enum {
ReporteX = 88,
ReporteZ = 90
} TipoReporte;

Gracias Mariano
Gracias,
by nageswaragunupudi
Wed May 10, 2017 7:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 48
Views: 25011

Re: FWHMARIADB Samples

... 125;, ; &#123; "NAME", "C", 30, 0, "utf8, DEFAULT 'Name', CHECK( CHAR_LENGTH( `name` ) > 2 ), COMMENT 'CASE:PROPER'" &#125;, ; &#123; "UNIT", "ENUM ( 'Items', 'K.G', 'Metre', 'Litre' ) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT 'Items'" &#125;, ; &#123; "PRICE", "N", 6, 2, "DEFAULT 1 ...