Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad26-Jun-12 20:00
professionalSoMad26-Jun-12 20:00 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
jawadali47726-Jun-12 20:12
jawadali47726-Jun-12 20:12 
AnswerRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad26-Jun-12 20:32
professionalSoMad26-Jun-12 20:32 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
David Crow27-Jun-12 2:38
David Crow27-Jun-12 2:38 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad27-Jun-12 4:33
professionalSoMad27-Jun-12 4:33 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad26-Jun-12 21:23
professionalSoMad26-Jun-12 21:23 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
jawadali4778-Jul-12 22:08
jawadali4778-Jul-12 22:08 
AnswerRe: help: image coordinates(x,y) in opencv with mfc Pin
Albert Holguin27-Jun-12 3:28
professionalAlbert Holguin27-Jun-12 3:28 
jawadali477 wrote:
the handle
HWND m_hWnd;
is defined at beginning where the header files are included (i might be doing it wrong since i'm not good at programming with handle).


When do you define it? It has to be defined from the window handle AFTER it has been created (when using MFC, it means it should come after your window's OnInitDialog() has been called), otherwise it could be undefined.

FYI... your coding style seems more C-like than C++. Is your function global? Did you declare HWND m_hWnd a global variable? I hope you didn't do that because all MFC window based objects have a variable name m_hWnd.
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
jawadali4778-Jul-12 22:06
jawadali4778-Jul-12 22:06 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
jawadali4771-Jul-12 18:01
jawadali4771-Jul-12 18:01 
QuestionTaskbar Stays Hidden when Mouse is moved on the Bottom of the Screen Pin
UrbanBlues26-Jun-12 9:38
UrbanBlues26-Jun-12 9:38 
AnswerRe: Taskbar Stays Hidden when Mouse is moved on the Bottom of the Screen Pin
Richard Andrew x6426-Jun-12 10:08
professionalRichard Andrew x6426-Jun-12 10:08 
GeneralRe: Taskbar Stays Hidden when Mouse is moved on the Bottom of the Screen Pin
UrbanBlues26-Jun-12 10:24
UrbanBlues26-Jun-12 10:24 
Questionresource compiler rc2188 error Pin
ForNow26-Jun-12 2:43
ForNow26-Jun-12 2:43 
AnswerRe: resource compiler rc2188 error Pin
Richard MacCutchan26-Jun-12 4:25
mveRichard MacCutchan26-Jun-12 4:25 
GeneralRe: resource compiler rc2188 error Pin
ForNow26-Jun-12 6:28
ForNow26-Jun-12 6:28 
GeneralRe: resource compiler rc2188 error Pin
Richard MacCutchan26-Jun-12 7:07
mveRichard MacCutchan26-Jun-12 7:07 
GeneralRe: resource compiler rc2188 error Pin
ForNow26-Jun-12 12:30
ForNow26-Jun-12 12:30 
GeneralRe: resource compiler rc2188 error Pin
ForNow26-Jun-12 13:21
ForNow26-Jun-12 13:21 
Questionsort a map by Value Pin
NajaR1225-Jun-12 23:00
NajaR1225-Jun-12 23:00 
AnswerRe: sort a map by Value Pin
Chandrasekharan P26-Jun-12 0:21
Chandrasekharan P26-Jun-12 0:21 
AnswerRe: sort a map by Value Pin
Roger Stoltz26-Jun-12 0:34
Roger Stoltz26-Jun-12 0:34 
AnswerRe: sort a map by Value Pin
Chris Losinger26-Jun-12 1:14
professionalChris Losinger26-Jun-12 1:14 
QuestionError CXX0052: Member function not found Pin
AmbiguousName25-Jun-12 19:26
AmbiguousName25-Jun-12 19:26 
SuggestionRe: Error CXX0052: Member function not found Pin
Binu MD25-Jun-12 20:24
Binu MD25-Jun-12 20:24 

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.