i am new to this programming. actually an MFC is developed using mediaplayer control. in that we are displaying the input image. in that image we are giving region of interest coordinates manually. but our people wanted it to be done just by mouse click using mspaint control. can you help me in this.
REPOST! Your question asked earlier was much clear.
vvlnkishore wrote:i am trying to embed mspaint into an mfc application. in that i wanted to load a bitmap image and when i click at a position in the image with a mouse i want to read the position coordinates. is it possible ? if so please help me
load your bitmap into a picture control or a static control and then handle the WM_LBUTTONDOWN message on that control.
You need to google first, if you have "It's urgent please" mentioned in your question. _AnShUmAn_
i will call it using shellexecute & give the location of the image to be opened. then it will open. but i want some more from it. i want to extract pixel coordinates when i click at a point using mouse.
hi, I want find out all files of the dictonary to compare existing the specific file,I used WIN32_FIND_DATA about window API,as it:
findFileData.dwFileAttributes=FILE_ATTRIBUTE_DIRECTORY | FILE_ATTRIBUTE_READONLY;
MessageBox(NULL,"delete file success","UDatabase",MB_OK);
but it ocur exception :0xC0000005: Access violation writing location 0x00405f0c at if(fHandle!=INVALID_HANDLE_VALUE),can you help me please ,thank you !
hi anshuman_,I have found result with the exception and known differently for between char* path="" to char path="" ,thanks
char * path="";
it have error 0xC0000005: Access violation writing location
but it's right