Re: Cant use Win32 API() ( SORRY .. WRONG LIST )

From: Karam Chand <karam_chand03(at)yahoo(dot)com>
To: Karam Chand <karam_chand03(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Cant use Win32 API() ( SORRY .. WRONG LIST )
Date: 2004-03-08 10:22:01
Message-ID: 20040308102201.33853.qmail@web60803.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ooooooooooooppss..

I am extremely sorry. I took up the wrong mailing
address from my address book. It should have been
posted to wxWindows mailing list.

Regards
Karam

--- Karam Chand <karam_chand03(at)yahoo(dot)com> wrote:
> Hello,
>
> I want to implement HAND_CURSOR for my app so I have
> ot ifdef SetCursor() and load it accordingly in my
> windows app.
>
> Here is the code I am using:
>
> #ifdef _WIN32
> m_HandCursor = wxCursor ( wxCURSOR_HAND );
> #else
> m_HandCursor = wxCursor ( (WXHCURSOR) LoadCursor (
> NULL, IDC_HAND ) );
> #endif
>
> If I compile it is giving me error:
>
> error C2065: 'LoadCursor' : undeclared identifier
> error C2065: 'IDC_HAND' : undeclared identifier
>
> I presume that it is not working since I have not
> included windows.h. So I go ahead and include it:
>
> #ifdef _WIN32
> #include <windows.h>
> #endif
>
> Now, if I compile it is giving me errors in
> wxBufferedPaintDC.DrawText() which I am using in my
> app. VC 6.0 is giving me:
>
> 'DrawTextA' : is not a member of 'wxBufferedPaintDC'
> h:\wxwin\include\wx\dcbuffer.h(85) : see
> declaration of 'wxBufferedPaintDC'
>
> Can somebody tell me what I am doing wrong? Am I
> missing something
>
> Karam
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what youre looking for faster
> http://search.yahoo.com
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose
> an index scan if your
> joining column's datatypes do not match

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dexter Tad-y 2004-03-08 10:24:58 Re: faster SELECT
Previous Message Dexter Tad-y 2004-03-08 10:21:11 Re: faster SELECT