Click here to Skip to main content
15,887,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondate function to mysql Pin
yogendra kaushik7-Jun-06 0:35
yogendra kaushik7-Jun-06 0:35 
AnswerRe: date function to mysql Pin
_AnsHUMAN_ 7-Jun-06 0:45
_AnsHUMAN_ 7-Jun-06 0:45 
AnswerRe: date function to mysql Pin
Laxman Auti7-Jun-06 2:41
Laxman Auti7-Jun-06 2:41 
AnswerRe: date function to mysql Pin
David Crow7-Jun-06 3:27
David Crow7-Jun-06 3:27 
QuestionList control - Mouse Move Pin
RajiRaghu7-Jun-06 0:28
RajiRaghu7-Jun-06 0:28 
AnswerRe: List control - Mouse Move Pin
Naveen7-Jun-06 1:19
Naveen7-Jun-06 1:19 
GeneralRe: List control - Mouse Move Pin
RajiRaghu7-Jun-06 1:59
RajiRaghu7-Jun-06 1:59 
GeneralRe: List control - Mouse Move Pin
Naveen7-Jun-06 2:05
Naveen7-Jun-06 2:05 
This is the code that i have used for checking.. This code works correctly..it changes the cursor to IDC_HAND when the mouse is over the subitem number 1.

void MyList::OnMouseMove(UINT nFlags, CPoint point)
{

static HCURSOR hCursor = LoadCursor( 0, IDC_HAND );
LVHITTESTINFO lvhitTestInfo;
lvhitTestInfo.pt = point;
int nItem = SubItemHitTest(&lvhitTestInfo);
int nSubItem = lvhitTestInfo.iSubItem;
if (nItem >= 0 && lvhitTestInfo.iSubItem > 0)
{
int m_nSubItemHit = lvhitTestInfo.iSubItem;
if ( lvhitTestInfo.iSubItem == 1)
{
SetCursor(hCursor);
}
}

CListCtrl::OnMouseMove(nFlags, point);
}



nave
GeneralRe: List control - Mouse Move Pin
Nishad S7-Jun-06 2:19
Nishad S7-Jun-06 2:19 
AnswerRe: List control - Mouse Move Pin
Viorel.7-Jun-06 1:34
Viorel.7-Jun-06 1:34 
AnswerRe: List control - Mouse Move Pin
Nishad S7-Jun-06 2:17
Nishad S7-Jun-06 2:17 
QuestionCan window be create in a window service? Pin
sunyw_20067-Jun-06 0:27
sunyw_20067-Jun-06 0:27 
AnswerRe: Com not getting registered Pin
Michael Dunn7-Jun-06 2:41
sitebuilderMichael Dunn7-Jun-06 2:41 
QuestionKey Event In Split Window Pin
g_sandipan6-Jun-06 23:53
g_sandipan6-Jun-06 23:53 
AnswerRe: Key Event In Split Window Pin
FarPointer7-Jun-06 3:25
FarPointer7-Jun-06 3:25 
QuestionKeystrokes in Edit control [modified] Pin
happy_ram6-Jun-06 22:59
happy_ram6-Jun-06 22:59 
AnswerRe: Keystrokes in Edit control Pin
Naveen6-Jun-06 23:33
Naveen6-Jun-06 23:33 
AnswerRe: Keystrokes in Edit control Pin
Laxman Auti6-Jun-06 23:48
Laxman Auti6-Jun-06 23:48 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 1:29
happy_ram7-Jun-06 1:29 
GeneralRe: Keystrokes in Edit control [modified] Pin
Naveen7-Jun-06 1:37
Naveen7-Jun-06 1:37 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 1:49
happy_ram7-Jun-06 1:49 
GeneralRe: Keystrokes in Edit control [modified] Pin
Naveen7-Jun-06 1:56
Naveen7-Jun-06 1:56 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 2:18
happy_ram7-Jun-06 2:18 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 2:25
happy_ram7-Jun-06 2:25 
GeneralRe: Keystrokes in Edit control [modified] Pin
FarPointer7-Jun-06 3:10
FarPointer7-Jun-06 3:10 

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.