Hi
I am trying to use FindWindow but it says it's undefined as a function
DO I need to include anything to get this to work?
Regards Nick
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
FindWindow
-
- Mensajes: 53
- Registrado: Vie May 26, 2006 3:33 am
- ignacio
- Site Admin
- Mensajes: 9246
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
FindWindow
Capsol,
Please be more precise. I really do not know what your are talking about.
Regards
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
> Hi
>
> I am trying to use FindWindow but it says it's undefined as a function
>
> DO I need to include anything to get this to work?
>
> Regards Nick
>
Please be more precise. I really do not know what your are talking about.
Regards
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
> Hi
>
> I am trying to use FindWindow but it says it's undefined as a function
>
> DO I need to include anything to get this to work?
>
> Regards Nick
>
-
- Mensajes: 53
- Registrado: Vie May 26, 2006 3:33 am
FindWindow
Sorry...good point
The Win API function FindWindow()
HWND FindWindow(
LPCTSTR lpClassName,
LPCTSTR lpWindowName
);
I have been using What32 and also XHB Winapi libs.
I guess I'm wondering what to use in xailer for things to do with the Win32
API
BTW, I love the explorer bar.....
Thanks,
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4476ac8e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Capsol,
>
> Please be more precise. I really do not know what your are talking about.
>
> Regards
>
> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
> news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
>> Hi
>>
>> I am trying to use FindWindow but it says it's undefined as a function
>>
>> DO I need to include anything to get this to work?
>>
>> Regards Nick
>>
>
>
The Win API function FindWindow()
HWND FindWindow(
LPCTSTR lpClassName,
LPCTSTR lpWindowName
);
I have been using What32 and also XHB Winapi libs.
I guess I'm wondering what to use in xailer for things to do with the Win32
API
BTW, I love the explorer bar.....
Thanks,
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4476ac8e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Capsol,
>
> Please be more precise. I really do not know what your are talking about.
>
> Regards
>
> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
> news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
>> Hi
>>
>> I am trying to use FindWindow but it says it's undefined as a function
>>
>> DO I need to include anything to get this to work?
>>
>> Regards Nick
>>
>
>
- ignacio
- Site Admin
- Mensajes: 9246
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
FindWindow
Nick,
Xailer does not have a wrapper for every Windows API function. We believe is
unnecessary due the INLINE C feature built in [x]Harbour.
As you can see in Xailer documentation, on the Functions- Windows functions
area, there a some Windows API functions accessibles directly from Xailer.
Is possible, like in your case, that an API function is not present. But
normally is really easy to implement. If you have any problem on doing such
task we will be glad to help you.
Here is the wrapper for your FindWindow():
#pragma BEGINDUMP
#include <windows.h>
#include <commctrl.h>
#include <xailer.h>
XA_FUNC( FINDWINDOW )
{
hb_retnl( (long) FindWindow( hb_parc( 1 ), hb_parc( 2 ) ) );
}
#pragma ENDDUMP
You can put this code on any part of your actual PRG files.
> BTW, I love the explorer bar.....
Glad to here that
Regards,
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=4476ebb5@ozsrvnegro.ozlan.local...]4476ebb5@ozsrvnegro.ozlan.local...[/email]
> Sorry...good point
>
> The Win API function FindWindow()
>
> HWND FindWindow(
> LPCTSTR lpClassName,
> LPCTSTR lpWindowName
> );
>
>
> I have been using What32 and also XHB Winapi libs.
>
> I guess I'm wondering what to use in xailer for things to do with the
> Win32 API
>
> BTW, I love the explorer bar.....
>
> Thanks,
>
> Nick
>
>
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4476ac8e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Capsol,
>>
>> Please be more precise. I really do not know what your are talking about.
>>
>> Regards
>>
>> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
>> news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
>>> Hi
>>>
>>> I am trying to use FindWindow but it says it's undefined as a function
>>>
>>> DO I need to include anything to get this to work?
>>>
>>> Regards Nick
>>>
>>
>>
>
>
Xailer does not have a wrapper for every Windows API function. We believe is
unnecessary due the INLINE C feature built in [x]Harbour.
As you can see in Xailer documentation, on the Functions- Windows functions
area, there a some Windows API functions accessibles directly from Xailer.
Is possible, like in your case, that an API function is not present. But
normally is really easy to implement. If you have any problem on doing such
task we will be glad to help you.
Here is the wrapper for your FindWindow():
#pragma BEGINDUMP
#include <windows.h>
#include <commctrl.h>
#include <xailer.h>
XA_FUNC( FINDWINDOW )
{
hb_retnl( (long) FindWindow( hb_parc( 1 ), hb_parc( 2 ) ) );
}
#pragma ENDDUMP
You can put this code on any part of your actual PRG files.
> BTW, I love the explorer bar.....
Glad to here that
Regards,
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=4476ebb5@ozsrvnegro.ozlan.local...]4476ebb5@ozsrvnegro.ozlan.local...[/email]
> Sorry...good point
>
> The Win API function FindWindow()
>
> HWND FindWindow(
> LPCTSTR lpClassName,
> LPCTSTR lpWindowName
> );
>
>
> I have been using What32 and also XHB Winapi libs.
>
> I guess I'm wondering what to use in xailer for things to do with the
> Win32 API
>
> BTW, I love the explorer bar.....
>
> Thanks,
>
> Nick
>
>
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4476ac8e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Capsol,
>>
>> Please be more precise. I really do not know what your are talking about.
>>
>> Regards
>>
>> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
>> news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
>>> Hi
>>>
>>> I am trying to use FindWindow but it says it's undefined as a function
>>>
>>> DO I need to include anything to get this to work?
>>>
>>> Regards Nick
>>>
>>
>>
>
>
-
- Mensajes: 53
- Registrado: Vie May 26, 2006 3:33 am
FindWindow
Thanks heaps for that
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4476f26d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Nick,
>
> Xailer does not have a wrapper for every Windows API function. We believe
> is unnecessary due the INLINE C feature built in [x]Harbour.
>
> As you can see in Xailer documentation, on the Functions- Windows
> functions area, there a some Windows API functions accessibles directly
> from Xailer. Is possible, like in your case, that an API function is not
> present. But normally is really easy to implement. If you have any problem
> on doing such task we will be glad to help you.
>
> Here is the wrapper for your FindWindow():
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <commctrl.h>
> #include <xailer.h>
>
> XA_FUNC( FINDWINDOW )
> {
> hb_retnl( (long) FindWindow( hb_parc( 1 ), hb_parc( 2 ) ) );
> }
>
> #pragma ENDDUMP
>
> You can put this code on any part of your actual PRG files.
>
>> BTW, I love the explorer bar.....
> Glad to here that
>
> Regards,
>
> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
> news:[email=4476ebb5@ozsrvnegro.ozlan.local...]4476ebb5@ozsrvnegro.ozlan.local...[/email]
>> Sorry...good point
>>
>> The Win API function FindWindow()
>>
>> HWND FindWindow(
>> LPCTSTR lpClassName,
>> LPCTSTR lpWindowName
>> );
>>
>>
>> I have been using What32 and also XHB Winapi libs.
>>
>> I guess I'm wondering what to use in xailer for things to do with the
>> Win32 API
>>
>> BTW, I love the explorer bar.....
>>
>> Thanks,
>>
>> Nick
>>
>>
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4476ac8e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Capsol,
>>>
>>> Please be more precise. I really do not know what your are talking
>>> about.
>>>
>>> Regards
>>>
>>> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
>>> news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
>>>> Hi
>>>>
>>>> I am trying to use FindWindow but it says it's undefined as a function
>>>>
>>>> DO I need to include anything to get this to work?
>>>>
>>>> Regards Nick
>>>>
>>>
>>>
>>
>>
>
>
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4476f26d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Nick,
>
> Xailer does not have a wrapper for every Windows API function. We believe
> is unnecessary due the INLINE C feature built in [x]Harbour.
>
> As you can see in Xailer documentation, on the Functions- Windows
> functions area, there a some Windows API functions accessibles directly
> from Xailer. Is possible, like in your case, that an API function is not
> present. But normally is really easy to implement. If you have any problem
> on doing such task we will be glad to help you.
>
> Here is the wrapper for your FindWindow():
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <commctrl.h>
> #include <xailer.h>
>
> XA_FUNC( FINDWINDOW )
> {
> hb_retnl( (long) FindWindow( hb_parc( 1 ), hb_parc( 2 ) ) );
> }
>
> #pragma ENDDUMP
>
> You can put this code on any part of your actual PRG files.
>
>> BTW, I love the explorer bar.....
> Glad to here that
>
> Regards,
>
> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
> news:[email=4476ebb5@ozsrvnegro.ozlan.local...]4476ebb5@ozsrvnegro.ozlan.local...[/email]
>> Sorry...good point
>>
>> The Win API function FindWindow()
>>
>> HWND FindWindow(
>> LPCTSTR lpClassName,
>> LPCTSTR lpWindowName
>> );
>>
>>
>> I have been using What32 and also XHB Winapi libs.
>>
>> I guess I'm wondering what to use in xailer for things to do with the
>> Win32 API
>>
>> BTW, I love the explorer bar.....
>>
>> Thanks,
>>
>> Nick
>>
>>
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4476ac8e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Capsol,
>>>
>>> Please be more precise. I really do not know what your are talking
>>> about.
>>>
>>> Regards
>>>
>>> "Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
>>> news:[email=44765adb@ozsrvnegro.ozlan.local...]44765adb@ozsrvnegro.ozlan.local...[/email]
>>>> Hi
>>>>
>>>> I am trying to use FindWindow but it says it's undefined as a function
>>>>
>>>> DO I need to include anything to get this to work?
>>>>
>>>> Regards Nick
>>>>
>>>
>>>
>>
>>
>
>