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

C / C++ / MFC

 
GeneralRe: how to get private key from a file (not from a keystore) to sign data ? Pin
Richard MacCutchan4-Feb-13 23:58
mveRichard MacCutchan4-Feb-13 23:58 
GeneralRe: how to get private key from a file (not from a keystore) to sign data ? Pin
Graham Breach5-Feb-13 3:57
Graham Breach5-Feb-13 3:57 
QuestionPop up window from a dialog based application Pin
Member 80516113-Feb-13 23:46
Member 80516113-Feb-13 23:46 
AnswerRe: Pop up window from a dialog based application Pin
Richard MacCutchan4-Feb-13 0:21
mveRichard MacCutchan4-Feb-13 0:21 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516114-Feb-13 0:55
Member 80516114-Feb-13 0:55 
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan4-Feb-13 2:34
mveRichard MacCutchan4-Feb-13 2:34 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516114-Feb-13 19:19
Member 80516114-Feb-13 19:19 
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan4-Feb-13 22:17
mveRichard MacCutchan4-Feb-13 22:17 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516114-Feb-13 23:59
Member 80516114-Feb-13 23:59 
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan5-Feb-13 0:04
mveRichard MacCutchan5-Feb-13 0:04 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516115-Feb-13 1:03
Member 80516115-Feb-13 1:03 
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan5-Feb-13 1:33
mveRichard MacCutchan5-Feb-13 1:33 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516115-Feb-13 17:47
Member 80516115-Feb-13 17:47 
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan5-Feb-13 21:10
mveRichard MacCutchan5-Feb-13 21:10 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516116-Feb-13 22:45
Member 80516116-Feb-13 22:45 
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan6-Feb-13 23:43
mveRichard MacCutchan6-Feb-13 23:43 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516117-Feb-13 0:29
Member 80516117-Feb-13 0:29 
Dear Richard,
What you have suggested(dialog with bitmap static control) has mostly worked. I agree it would be the shortest route. I have a small issue. When I click on the 1st image I get the pixel/color value of that point. Now I have to pass that to the dialog box which is popped up. Any clue how I would do that.
void CCreateGratingsView::OnLButtonDown(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	CClientDC dc (this);
	COLORREF clr;
    CPicDialog dlg;
	BYTE Red,Green,Blue;
	clr=dc.GetPixel (point);
	Red=GetRValue(clr);
    Green=GetGValue(clr);
	Blue=GetBValue(clr);
	//dlg should receive Red Green Blue
    dlg.DoModal()

	CScrollView::OnLButtonDown(nFlags, point);
}


Thanks again,
-DJ
GeneralRe: Pop up window from a dialog based application Pin
Richard MacCutchan7-Feb-13 0:50
mveRichard MacCutchan7-Feb-13 0:50 
GeneralRe: Pop up window from a dialog based application Pin
Member 805161111-Feb-13 19:55
Member 805161111-Feb-13 19:55 
GeneralRe: Pop up window from a dialog based application Pin
Member 80516115-Feb-13 19:33
Member 80516115-Feb-13 19:33 
AnswerRe: Pop up window from a dialog based application Pin
Albert Holguin4-Feb-13 12:18
professionalAlbert Holguin4-Feb-13 12:18 
QuestionHow to Implement Drag & Drop feature for Imagesin MFC.? Pin
mbatra313-Feb-13 19:17
mbatra313-Feb-13 19:17 
AnswerRe: How to Implement Drag & Drop feature for Imagesin MFC.? Pin
Jochen Arndt3-Feb-13 21:46
professionalJochen Arndt3-Feb-13 21:46 
QuestionStuck in WaveInProc Pin
AmbiguousName2-Feb-13 7:21
AmbiguousName2-Feb-13 7:21 
AnswerRe: Stuck in WaveInProc Pin
CPallini2-Feb-13 10:38
mveCPallini2-Feb-13 10:38 

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.