Search found 431 matches

by Natter
Thu Dec 19, 2024 3:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Local hook
Replies: 2
Views: 239

Re: Local hook

Thank you !
by Natter
Thu Dec 19, 2024 2:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Local hook
Replies: 2
Views: 239

Local hook

Hi,

I need to make a local hook. The second parameter in SetWindowsHookEx is the handler function for this hook. What is the correct way to write this parameter?
by Natter
Wed Nov 27, 2024 4:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Select a folder without using the cGetDir function RESOLVED
Replies: 6
Views: 991

Re: Select a folder without using the cGetDir function

Sorry, MaxP ! I could only achieve this design for the “Save As” function :(
by Natter
Wed Nov 27, 2024 4:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Select a folder without using the cGetDir function RESOLVED
Replies: 6
Views: 991

Re: Select a folder without using the cGetDir function

In this case it is possible to select a folder or file

#define BIF_RETURNONLYFSDIRS 0x0001
#define BIF_DONTGOBELOWDOMAIN 0x0002
#define BIF_STATUSTEXT 0x0004
#define BIF_RETURNFSANCESTORS 0x0008
#define BIF_EDITBOX 0x0010
#define BIF_VALIDATE 0x0020
#define BIF_NEWDIALOGSTYLE 0x0040
#define BIF ...
by Natter
Tue Nov 26, 2024 10:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: right-clicking on the TMenuItem
Replies: 9
Views: 1559

Re: right-clicking on the TMenuItem

For example, such a menu:

MENU oMen POPUP
MENUITEM oItm PROMPT "Tree"
MENU
MENUITEM oItm PROMPT "First"
MENUITEM oItm PROMPT "Second"
ENDMENU
ENDMENU

Cristobal, I need to handle right-clicking on the "First" or "Second" menu options. I don't understand how to use :bRButtonMenuUp it in this ...
by Natter
Fri Nov 22, 2024 3:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: right-clicking on the TMenuItem
Replies: 9
Views: 1559

Re: right-clicking on the TMenuItem

Great !
by Natter
Fri Nov 22, 2024 11:36 am
Forum: FiveWin for Harbour/xHarbour
Topic: right-clicking on the TMenuItem
Replies: 9
Views: 1559

Re: right-clicking on the TMenuItem

Thanks, I'll be waiting !
by Natter
Thu Nov 21, 2024 1:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: right-clicking on the TMenuItem
Replies: 9
Views: 1559

Re: right-clicking on the TMenuItem

I didn't understand. How can I use SwapMouseButton(1 ) ? Any click (both right and left) on the TMenuItem object causes the selection of a menu option. I need to make this choice only on the left click. And use the right click for other purposes.
by Natter
Thu Nov 21, 2024 12:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: right-clicking on the TMenuItem
Replies: 9
Views: 1559

right-clicking on the TMenuItem

Is it possible to handle right-clicking on the TMenuItem object ?
by Natter
Wed Nov 20, 2024 7:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: attribute - creation date
Replies: 4
Views: 1014

Re: attribute - creation date

I check the same type of processes (e.g. Excel) roughly like this:
#INCLUDE "FiveWin.ch"

procedure Main
local dim:=Lst_Pss("EXCEL.EXE")) //list process
if len(dim)>0
atail(dim):CreationDate
endif
return

FUNCTION Lst_Pss(pss)
local dim:={}
local oList, oProc
** pss - application name

oWmi ...
by Natter
Wed Nov 20, 2024 2:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: attribute - creation date
Replies: 4
Views: 1014

Re: attribute - creation date

Thanks ! I solve this problem like this - request processes of a certain type through WMi and compare them .CreationDate
by Natter
Sat Nov 16, 2024 6:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: icon from a .RC file
Replies: 8
Views: 1539

Re: icon from a .RC file

Thank you ! That's just what I need.
by Natter
Fri Nov 15, 2024 4:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: icon from a .RC file
Replies: 8
Views: 1539

Re: icon from a .RC file

I guess I didn't ask the question well. :( I compiled .prg and .rc into a single .exe In some situation I need to save one of the resources (icon) to a bitmap file from the program.
by Natter
Fri Nov 15, 2024 8:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: icon from a .RC file
Replies: 8
Views: 1539

Re: icon from a .RC file

Sorry, Antonio, I wrote it wrong. Of course I meant the RES file :(
by Natter
Thu Nov 14, 2024 8:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: icon from a .RC file
Replies: 8
Views: 1539

icon from a .RC file

Is it possible to save an icon from a .RC file to a file ?