Click here to Skip to main content
15,905,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Including methods in a DLL Pin
Matthew Faithfull24-Jul-08 23:27
Matthew Faithfull24-Jul-08 23:27 
GeneralRe: Including methods in a DLL Pin
softwaremonkey25-Jul-08 0:16
softwaremonkey25-Jul-08 0:16 
AnswerRe: Including methods in a DLL Pin
Yajnesh Narayan Behera24-Jul-08 23:55
Yajnesh Narayan Behera24-Jul-08 23:55 
GeneralRe: Including methods in a DLL Pin
softwaremonkey25-Jul-08 0:29
softwaremonkey25-Jul-08 0:29 
QuestionAbout CRichEditControl Pin
Manjunath S24-Jul-08 21:56
Manjunath S24-Jul-08 21:56 
AnswerRe: About CRichEditControl Pin
Michael Schubert25-Jul-08 0:22
Michael Schubert25-Jul-08 0:22 
AnswerRe: About CRichEditControl Pin
Raghu Panduranga29-Jul-08 21:03
Raghu Panduranga29-Jul-08 21:03 
Questionhow to show a button after move it? Pin
tataxin24-Jul-08 20:26
tataxin24-Jul-08 20:26 
I have a button on a list, something like whenever you select a row, move the button to that row. So I implement this in OnLvnItemchangedList event:

void CMyDlg::OnLvnItemchangedList(NMHDR *pNMHDR, LRESULT *pResult)
{
...
// canculate the rec by seleted row
CRect rec;
...

// move button
m_myBtn.MoveWindow(rec);
m_myBtn.ShowWindow(SW_SHOW);
m_myBtn.BringWindowToTop();

InvalidateRect(rec);
m_myBtn.RedrawWindow();

}


It works, but I cannot see the button. Confused | :confused: Confused | :confused:
If the mouse moves over the button, it shows then I can see it.
I don't know why, maybe there's something wrong in my last two source code rows. Can anyone explain how to solve this??

Thank you in advance !!
AnswerRe: how to show a button after move it? Pin
KarstenK24-Jul-08 23:27
mveKarstenK24-Jul-08 23:27 
GeneralRe: how to show a button after move it? Pin
tataxin26-Jul-08 6:17
tataxin26-Jul-08 6:17 
Questioni got a compiling error like: error C2485: '__restrict' : unrecognized extended attribute [modified] Pin
kcynic24-Jul-08 19:40
kcynic24-Jul-08 19:40 
GeneralRe: i got a compiling error like: error C2485: '__restrict' : unrecognized extended attribute Pin
Matthew Faithfull24-Jul-08 22:20
Matthew Faithfull24-Jul-08 22:20 
GeneralRe: i got a compiling error like: error C2485: '__restrict' : unrecognized extended attribute Pin
kcynic24-Jul-08 23:34
kcynic24-Jul-08 23:34 
GeneralRe: i got a compiling error like: error C2485: '__restrict' : unrecognized extended attribute Pin
Matthew Faithfull24-Jul-08 23:41
Matthew Faithfull24-Jul-08 23:41 
QuestionAvoid overloading Pin
CodingLover24-Jul-08 19:27
CodingLover24-Jul-08 19:27 
AnswerRe: Avoid overloading Pin
Saurabh.Garg24-Jul-08 19:41
Saurabh.Garg24-Jul-08 19:41 
QuestionRe: Avoid overloading Pin
CodingLover24-Jul-08 19:52
CodingLover24-Jul-08 19:52 
AnswerRe: Avoid overloading Pin
Saurabh.Garg24-Jul-08 19:54
Saurabh.Garg24-Jul-08 19:54 
NewsRe: Avoid overloading Pin
CodingLover24-Jul-08 19:55
CodingLover24-Jul-08 19:55 
AnswerRe: Avoid overloading [modified] Pin
killabyte24-Jul-08 22:46
killabyte24-Jul-08 22:46 
QuestionHow can i disable pressing of special characters(@,#,$,%,^,&,*,~,!) on Editbox control? Pin
Le@rner24-Jul-08 19:24
Le@rner24-Jul-08 19:24 
AnswerRe: How can i disable pressing of special characters(@,#,$,%,^,&,*,~,!) on Editbox control? Pin
Yajnesh Narayan Behera24-Jul-08 19:52
Yajnesh Narayan Behera24-Jul-08 19:52 
AnswerRe: How can i disable pressing of special characters(@,#,$,%,^,&,*,~,!) on Editbox control? Pin
_AnsHUMAN_ 24-Jul-08 19:55
_AnsHUMAN_ 24-Jul-08 19:55 
GeneralRe: How can i disable pressing of special characters(@,#,$,%,^,&,*,~,!) on Editbox control? Pin
Le@rner24-Jul-08 20:38
Le@rner24-Jul-08 20:38 
GeneralRe: How can i disable pressing of special characters(@,#,$,%,^,&,*,~,!) on Editbox control? Pin
User 248443724-Jul-08 23:29
User 248443724-Jul-08 23:29 

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.