Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: calling the function specified by a string Pin
jhwurmbach8-Aug-03 4:30
jhwurmbach8-Aug-03 4:30 
GeneralRe: calling the function specified by a string Pin
Jerome Conus8-Aug-03 4:39
Jerome Conus8-Aug-03 4:39 
GeneralRe: calling the function specified by a string Pin
Anthony_Yio11-Aug-03 2:06
Anthony_Yio11-Aug-03 2:06 
GeneralStock Color Property Page Pin
marcvoor1237-Aug-03 22:37
marcvoor1237-Aug-03 22:37 
GeneralProblems with sockets (win32) Pin
justin2237-Aug-03 21:55
justin2237-Aug-03 21:55 
GeneralRe: Problems with sockets (win32) Pin
John M. Drescher7-Aug-03 23:25
John M. Drescher7-Aug-03 23:25 
GeneralRe: Problems with sockets (win32) Pin
justin2237-Aug-03 23:27
justin2237-Aug-03 23:27 
GeneralCursor in DirectX Pin
Skirmish7-Aug-03 21:23
Skirmish7-Aug-03 21:23 
I am trying to get a custom cursor working under DirectInput and Direct3D. The direct input is taken care of, I have my code to give me the screen coords that I want. The problem is I can't get my cursor to display at those coords. I am using the Scrawl example in the DX8 SDK as a guide. Here is the method:

void CShell::UpdateCursor(void)<br />
{<br />
    PAINTSTRUCT ps;<br />
    HDC         hDC;<br />
    //iCursorX, iCursorY, hCursor are all global.  I have tested each and they are correct (ie right coords and the cursor draws when I set it as the default app cursor when I comment out my DirectInput code.<br />
<br />
    hDC = BeginPaint( hWnd, &ps );<br />
    if( NULL == hDC ) return;<br />
<br />
    DrawIcon(hDC, iCursorX, iCursorY, hCursor);<br />
<br />
    EndPaint( hWnd, &ps );<br />
}


I have tried calling this before, during and after the d3d beginScene and endScene. Maybe the DrawIcon call isn't working because the project is d3d, but I couldn't find anything to indicate this.

Any advice would be greatly appreciated.

....now where does this plug in....
GeneralResizing limit Pin
SLiDeR7-Aug-03 20:08
SLiDeR7-Aug-03 20:08 
GeneralRe: Resizing limit Pin
Larry Antram7-Aug-03 20:17
Larry Antram7-Aug-03 20:17 
QuestionHow to fire an event from the program? Pin
ben27-Aug-03 20:02
ben27-Aug-03 20:02 
AnswerRe: How to fire an event from the program? Pin
Anthony_Yio7-Aug-03 23:37
Anthony_Yio7-Aug-03 23:37 
GeneralInternet Explorer custom menu Pin
Mohsen Saad7-Aug-03 19:18
Mohsen Saad7-Aug-03 19:18 
QuestionIn OLE,how to know that the server has finished one operation? Pin
vcseeker7-Aug-03 18:20
vcseeker7-Aug-03 18:20 
GeneralHelp! Pin
DaveE9th7-Aug-03 16:43
DaveE9th7-Aug-03 16:43 
GeneralRe: Help! Pin
Dave Bryant7-Aug-03 17:32
Dave Bryant7-Aug-03 17:32 
GeneralRe: Help! Pin
DaveE9th7-Aug-03 17:35
DaveE9th7-Aug-03 17:35 
GeneralRe: Help! Pin
Dave Bryant7-Aug-03 17:43
Dave Bryant7-Aug-03 17:43 
GeneralRe: Help! Pin
DaveE9th7-Aug-03 19:35
DaveE9th7-Aug-03 19:35 
QuestionHow can I create a window? Pin
ribbs7-Aug-03 15:23
ribbs7-Aug-03 15:23 
GeneralScrolling a tree view Pin
Marissa1827-Aug-03 14:26
Marissa1827-Aug-03 14:26 
GeneralRe: Scrolling a tree view Pin
Maximilien7-Aug-03 14:54
Maximilien7-Aug-03 14:54 
Questionhow to access Doc class from a dialog memeber function Pin
mr20037-Aug-03 14:24
mr20037-Aug-03 14:24 
AnswerRe: how to access Doc class from a dialog memeber function Pin
Navin7-Aug-03 15:51
Navin7-Aug-03 15:51 
GeneralA List in memory... Pin
Kuniva7-Aug-03 12:36
Kuniva7-Aug-03 12:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.