Pardon me!! I am new here. I am unable to use addNode function. When i declare Node* it doesnt compile.
I am trying to implement a linked list in c++ without
using structures and only use pure classes.I am rusty here. Any help would be great.
head->addNode() and head.addNode() doesnt work.
Create the object in the heap first. You just declared a variable stating "I will hold address of Node object in a variable head". But, where does that object? When there is no object head-> will not work. Head.addNode() also wont work as the object is not in stack.
Node* head = new Node();
I try to change CScrollBar's interface (MySkinScrollbar is delivered MFC's CScrollBar).
I loaded image to draw over the windows's classic interface -> It's done.
But when I click on "UpArrow" button in ScrollBar. The windows's classic interface is drawn over my image.
I think I should catch WM_LBUTTONDOWN and WM_LBUTTONUP message to redraw (calling Invalidate()).
I'm success in catching WM_LBUTTONDOWN message.
But I can't catch WM_LBUTTONUP message.
Please help me to solve this problem!
You can search with key word "//Why don't show message ?????". Jump to my problem.
This is my project (use VS 2003): Download Project
By the way, please tell me the way to reset default the Visual Studio 2003 (like has just installed)!
Thanks for all !!!!!
(I'm Vietnamese. So my English is not good. If I make some mistakes, please help me out.)
why do you need this handler ? Maybe you can slove your task in another way ...
First, I thank you for replying !
I need WM_LBUTTONUP to solve my problem: When I click on "Up/Left Arrow Button" or "Down Arrow Button", my scroll bar's interface become a window classic interface.
I have a mini clip to explain my problem.