Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralC++ Regex Library Pin
afronaut4-Sep-03 5:05
afronaut4-Sep-03 5:05 
GeneralRe: C++ Regex Library Pin
David Crow4-Sep-03 6:11
David Crow4-Sep-03 6:11 
GeneralRe: C++ Regex Library Pin
Brad Sokol4-Sep-03 7:23
Brad Sokol4-Sep-03 7:23 
GeneralRe: C++ Regex Library Pin
Jörgen Sigvardsson4-Sep-03 11:23
Jörgen Sigvardsson4-Sep-03 11:23 
GeneralRe: C++ Regex Library Pin
afronaut5-Sep-03 8:46
afronaut5-Sep-03 8:46 
GeneralRe: C++ Regex Library Pin
Rasqual Twilight5-Sep-03 9:09
Rasqual Twilight5-Sep-03 9:09 
GeneralRe: C++ Regex Library Pin
Nemanja Trifunovic5-Sep-03 11:19
Nemanja Trifunovic5-Sep-03 11:19 
GeneralCColorpicker - dissapear -> toolbar Pin
mike :D4-Sep-03 4:49
mike :D4-Sep-03 4:49 
Hi!
I tried to use http://www.codeproject.org/miscctrl/colour_picker.asp in my project. In my dialog it works well!!!
But if i use in in a ttolbar (without using the ColourPick class) the popup is displayed for about 1sec and then it dissapears.
<br />
void CWordChildFrame::OnToolbarDropDown(NMTOOLBAR *pnmtb, LRESULT *)<br />
{	<br />
   CRect rc;<br />
   m_wndStyleBar.SendMessage(TB_GETRECT, pnmtb->iItem, (LPARAM)&rc);<br />
   m_wndStyleBar.ClientToScreen(&rc);<br />
	<br />
   new CColourPopup(CPoint(rc.left,rc.bottom),    <br />
      COLORREF(RGB(255,255,255)), &m_wndStyleBar, "Auto","More");  <br />
   //AfxMessageBox("test");<br />
}<br />

The strange is, that if i remove the "//", the message box is displayed and then the colorpicker works well. It is shown until i click on a color.
What have a done wrong?

Thanks mike
GeneralRe: CColorpicker - dissapear -&gt; toolbar Pin
Alvaro Mendez4-Sep-03 6:16
Alvaro Mendez4-Sep-03 6:16 
GeneralRe: CColorpicker - dissapear -&gt; toolbar Pin
mike :D4-Sep-03 9:15
mike :D4-Sep-03 9:15 
GeneralRich Edit Control and Fonts Pin
Larry J. Siddens4-Sep-03 4:31
Larry J. Siddens4-Sep-03 4:31 
GeneralRe: Rich Edit Control and Fonts Pin
Larry J. Siddens4-Sep-03 10:08
Larry J. Siddens4-Sep-03 10:08 
GeneralOwn Tray Pin
Eugene V.4-Sep-03 3:49
Eugene V.4-Sep-03 3:49 
GeneralRe: Own Tray Pin
Magnus Westin4-Sep-03 4:04
Magnus Westin4-Sep-03 4:04 
GeneralRe: Own Tray Pin
David Crow4-Sep-03 4:21
David Crow4-Sep-03 4:21 
GeneralRe: Own Tray Pin
Eugene V.4-Sep-03 20:25
Eugene V.4-Sep-03 20:25 
GeneralVoice Recognition Pin
Faizi4-Sep-03 3:20
Faizi4-Sep-03 3:20 
GeneralRe: Voice Recognition Pin
Ravi Bhavnani4-Sep-03 11:15
professionalRavi Bhavnani4-Sep-03 11:15 
GeneralGetNumberFormat for integer values Pin
Lakitu4-Sep-03 3:19
Lakitu4-Sep-03 3:19 
GeneralRe: GetNumberFormat for integer values Pin
David Crow4-Sep-03 4:19
David Crow4-Sep-03 4:19 
GeneralRe: GetNumberFormat for integer values Pin
Lakitu4-Sep-03 7:12
Lakitu4-Sep-03 7:12 
GeneralRe: GetNumberFormat for integer values Pin
David Crow4-Sep-03 7:19
David Crow4-Sep-03 7:19 
QuestionAdobe photoshop plugin?? Pin
xxhimanshu4-Sep-03 2:31
xxhimanshu4-Sep-03 2:31 
AnswerRe: Adobe photoshop plugin?? Pin
Maximilien4-Sep-03 2:44
Maximilien4-Sep-03 2:44 
GeneralVisualization ToolKit Pin
NewYork4-Sep-03 2:12
NewYork4-Sep-03 2:12 

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.