Alguien tiene un listado de los #define??
Ejemplo:
#define IDI_HMG 1001
#define IDI_DEMO 1002
#define IDI_COMP 1003
#define IDI_PRINT 1004
#define IDI_SNAIL 1005
Hay alguno para usar un Abort?? o un Exit??
Donde se podria ver los #define???
#define IDI_ ???
Moderator: Rathinagiri
-
- Posts: 24
- Joined: Tue Nov 07, 2017 6:41 am
- DBs Used: DBF, Mysql
- Location: Capital Federal, Buenos Aires, ARGENTINA
-
- Posts: 24
- Joined: Tue Nov 07, 2017 6:41 am
- DBs Used: DBF, Mysql
- Location: Capital Federal, Buenos Aires, ARGENTINA
Re: #define IDI_ ???
Hola
Esta en el ejemplo: D:\MiniGUI\SAMPLES\BASIC\MsgBox
en el Archivo: resource.h
Tengo : Harbour MiniGUI Extended Edition 23.02 (Release)
Esta en el ejemplo: D:\MiniGUI\SAMPLES\BASIC\MsgBox
en el Archivo: resource.h
Tengo : Harbour MiniGUI Extended Edition 23.02 (Release)
Re: #define IDI_ ???
Hola Jorrge,jorge_rivero wrote: ↑Mon May 01, 2023 4:06 pm Hola
Esta en el ejemplo: D:\MiniGUI\SAMPLES\BASIC\MsgBox
en el Archivo: resource.h
Tengo : Harbour MiniGUI Extended Edition 23.02 (Release)
Thanks for your interest.
In a Windows resource-definition script (.rc file), a defined constant is a preprocessor macro that can be used to define a value that is used throughout the script. These constants are defined using the #define preprocessor directive and can be used to specify a value for a resource-definition statement.
For example, imagine that you want to define a constant named ID_MY_RESOURCE that has the value 10001. You can define this constant at the top of your .rc file using the #define directive like this:
You can then use this constant to specify the value of the ID parameter in a resource-definition statement like this:#define ID_MY_RESOURCE 10001
This statement defines a bitmap resource with the ID_MY_RESOURCE constant as its ID value and specifies that the bitmap is stored in the file "my_bitmap.bmp".ID_MY_RESOURCE BITMAP "my_bitmap.bmp"
In summary, defined constants in a Windows resource file .RC are preprocessor macros that can be used to define a value that is used throughout the script. They are defined using the #define directive and can be used to specify a value for a resource-definition statement.
Source:
https://learn.microsoft.com/en-us/windo ... statements
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
-
- Posts: 24
- Joined: Tue Nov 07, 2017 6:41 am
- DBs Used: DBF, Mysql
- Location: Capital Federal, Buenos Aires, ARGENTINA
Re: #define IDI_ ???
Gracias, ahora entendi.