Click here to Skip to main content
15,888,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WinAPI Service StartServiceCtrlDispatcher gives Error-Code "1063" Pin
Harry_D10-Feb-09 6:21
Harry_D10-Feb-09 6:21 
AnswerRe: WinAPI Service StartServiceCtrlDispatcher gives Error-Code "1063" Pin
BukeMan6-Jul-11 0:08
BukeMan6-Jul-11 0:08 
QuestionHow to add and retrive the LPARAM value from CTreeCtrl? Pin
mikert_20089-Feb-09 23:22
mikert_20089-Feb-09 23:22 
AnswerRe: How to add and retrive the LPARAM value from CTreeCtrl? Pin
CPallini9-Feb-09 23:44
mveCPallini9-Feb-09 23:44 
GeneralRe: How to add and retrive the LPARAM value from CTreeCtrl? Pin
mikert_200810-Feb-09 0:01
mikert_200810-Feb-09 0:01 
GeneralRe: How to add and retrive the LPARAM value from CTreeCtrl? Pin
CPallini10-Feb-09 0:37
mveCPallini10-Feb-09 0:37 
AnswerRe: How to add and retrive the LPARAM value from CTreeCtrl? Pin
Code-o-mat10-Feb-09 0:37
Code-o-mat10-Feb-09 0:37 
QuestionAnimated (*.ani) cursor not showing Pin
josip cagalj9-Feb-09 22:53
josip cagalj9-Feb-09 22:53 
Hi,
I've created a animated cursor which is 32x32 RGB/A. I tried to load it in my project (VS6) but it's not loading. Here are the steps I've done plus some code:
1. I've add my cursor (named 'OrangeWait.ani') in res folder,
2. defined new ID for it in 'resource.h'
#define IDR_WAIT_CURSOR					124<br />

3. added line in *.rc file
IDR_WAIT_CURSOR	ANICURSOR	"res\\OrangeWait.ani"<br />

4. and added some code for testing
HCURSOR hCWait = ::LoadCursor(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDR_WAIT_CURSOR));
if(!hCWait)
{
    AfxMessageBox("Can't load Wait cursor!");
    return;
}
HCURSOR hCStandard = ::LoadCursor(NULL,IDC_ARROW);
if(!hCStandard) AfxMessageBox("Can't load Standard cursor!");
SetCursor(hCWait);
Sleep(3000);
SetCursor(hCStandard);

When I start the app I get message "Can't load Wait cursor!".
Any idea?
Thanks...
AnswerRe: Animated (*.ani) cursor not showing Pin
josip cagalj9-Feb-09 22:59
josip cagalj9-Feb-09 22:59 
GeneralRe: Animated (*.ani) cursor not showing Pin
josip cagalj10-Feb-09 0:55
josip cagalj10-Feb-09 0:55 
GeneralRe: Animated (*.ani) cursor not showing Pin
josip cagalj12-Feb-09 22:36
josip cagalj12-Feb-09 22:36 
GeneralRe: Animated (*.ani) cursor not showing Pin
josip cagalj12-Feb-09 22:46
josip cagalj12-Feb-09 22:46 
Questionideas for database to use... Pin
Thilek9-Feb-09 22:34
Thilek9-Feb-09 22:34 
AnswerRe: ideas for database to use... Pin
Eytukan9-Feb-09 22:37
Eytukan9-Feb-09 22:37 
GeneralRe: ideas for database to use... Pin
Thilek10-Feb-09 0:23
Thilek10-Feb-09 0:23 
GeneralRe: ideas for database to use... Pin
Thilek10-Feb-09 0:29
Thilek10-Feb-09 0:29 
GeneralRe: ideas for database to use... Pin
Eytukan10-Feb-09 8:43
Eytukan10-Feb-09 8:43 
QuestionReportView Style Pin
ATM@CodeProject9-Feb-09 19:47
ATM@CodeProject9-Feb-09 19:47 
AnswerRe: ReportView Style Pin
Sarath C9-Feb-09 20:17
Sarath C9-Feb-09 20:17 
AnswerRe: ReportView Style Pin
SandipG 9-Feb-09 20:18
SandipG 9-Feb-09 20:18 
GeneralRe: ReportView Style Pin
ATM@CodeProject9-Feb-09 21:44
ATM@CodeProject9-Feb-09 21:44 
QuestionCustom Message From Child Dialog Pin
zakkas24839-Feb-09 19:25
zakkas24839-Feb-09 19:25 
AnswerRe: Custom Message From Child Dialog Pin
_AnsHUMAN_ 9-Feb-09 19:34
_AnsHUMAN_ 9-Feb-09 19:34 
GeneralRe: Custom Message From Child Dialog Pin
zakkas24839-Feb-09 19:53
zakkas24839-Feb-09 19:53 
GeneralRe: Custom Message From Child Dialog Pin
SandipG 9-Feb-09 20:09
SandipG 9-Feb-09 20:09 

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.