Click here to Skip to main content
15,904,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Connecting to a database on a network or server using ADO Pin
Monty226-May-04 20:52
Monty226-May-04 20:52 
GeneralMonitoring USB Port Pin
jerry1211a26-May-04 15:09
jerry1211a26-May-04 15:09 
GeneralDrawState problem Pin
nm_11426-May-04 14:30
nm_11426-May-04 14:30 
GeneralSystemwide Cursor Change Pin
debacler26-May-04 11:57
debacler26-May-04 11:57 
GeneralRe: Systemwide Cursor Change Pin
Michael Dunn26-May-04 19:14
sitebuilderMichael Dunn26-May-04 19:14 
GeneralRe: Systemwide Cursor Change Pin
Naren Neelamegam26-May-04 21:48
Naren Neelamegam26-May-04 21:48 
GeneralRe: Systemwide Cursor Change Pin
debacler28-May-04 6:58
debacler28-May-04 6:58 
GeneralRe: Systemwide Cursor Change Pin
Naren Neelamegam28-May-04 18:38
Naren Neelamegam28-May-04 18:38 
Ya.. I dOno why its not working... but there is another one solution to restore the system cursor (without using ur resource). Declare a HCURSOR m_h; member variable to ur dlg class.

void CTestDlg::OnHideCursor()
{
m_h=CopyCursor(LoadCursor(NULL,IDC_ARROW)); // Store system cursor in m_h
HCURSOR h1 = AfxGetApp( ) -> LoadCursor ( IDC_CURSOR1 ) ; // Load ur cursor
::SetSystemCursor ( h1, OCR_NORMAL ) ; // Change system cursor with urs
}
void CTestDlg::OnShowCursor()
{
::SetSystemCursor ( m_h, OCR_NORMAL ) ; // Restore system cursor from m_h
}

It is working well for me. Try urself.

Hava nice day;)
with regards

loveablevirus
GeneralRe: Systemwide Cursor Change Pin
debacler28-May-04 18:58
debacler28-May-04 18:58 
QuestionDoes anyone know of a good article about shrinking EXE sizes? Pin
Terry O'Nolley26-May-04 11:48
Terry O'Nolley26-May-04 11:48 
AnswerRe: Does anyone know of a good article about shrinking EXE sizes? Pin
Anonymous26-May-04 12:12
Anonymous26-May-04 12:12 
GeneralRe: Does anyone know of a good article about shrinking EXE sizes? Pin
Anonymous26-May-04 12:13
Anonymous26-May-04 12:13 
AnswerRe: Does anyone know of a good article about shrinking EXE sizes? Pin
Nick Parker26-May-04 13:53
protectorNick Parker26-May-04 13:53 
AnswerRe: Does anyone know of a good article about shrinking EXE sizes? Pin
Joe Woodbury26-May-04 17:00
professionalJoe Woodbury26-May-04 17:00 
AnswerRe: Does anyone know of a good article about shrinking EXE sizes? Pin
Paolo Vernazza26-May-04 22:57
Paolo Vernazza26-May-04 22:57 
AnswerRe: Does anyone know of a good article about shrinking EXE sizes? Pin
Jonas Larsson27-May-04 0:33
Jonas Larsson27-May-04 0:33 
Generalcount() function using STL Pin
BlackDice26-May-04 11:36
BlackDice26-May-04 11:36 
GeneralRe: count() function using STL Pin
markkuk26-May-04 11:55
markkuk26-May-04 11:55 
GeneralRe: count() function using STL Pin
BlackDice26-May-04 11:59
BlackDice26-May-04 11:59 
GeneralRe: count() function using STL Pin
Michael Dunn26-May-04 12:10
sitebuilderMichael Dunn26-May-04 12:10 
GeneralRe: count() function using STL Pin
BlackDice27-May-04 3:04
BlackDice27-May-04 3:04 
GeneralRe: count() function using STL Pin
toxcct26-May-04 22:56
toxcct26-May-04 22:56 
GeneralRe: count() function using STL Pin
BlackDice27-May-04 3:03
BlackDice27-May-04 3:03 
GeneralDirectShow and C++ (No-MFC) Pin
Paolo Ponzano26-May-04 10:33
Paolo Ponzano26-May-04 10:33 
GeneralRe: DirectShow and C++ (No-MFC) Pin
Antti Keskinen26-May-04 11:32
Antti Keskinen26-May-04 11:32 

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.