Thanks for your reply. I got it.
hemlat
Posts
-
how to detect Listctrl check box selection/deselection -
how to detect Listctrl check box selection/deselectionThanks for your reply.I got it.
-
how to detect Listctrl check box selection/deselectionHi, I have used both LVN_ITEMCHANGING and LVN_ITEMCHANGED . But these these are sent not only for check box selection but also for another events like adding items to Listctrl. I have searched for this requirement but I did not get required result. I am not sure whether Microsoft provide this or not. I am new to MFC. Thanks for your reply. I think I need to change logic of my code dependence on existing event handlers.
-
how to detect Listctrl check box selection/deselectionThanks for your replay. But I need to get check box event selection message handler not whether check box is checked or not.
-
how to detect Listctrl check box selection/deselectionHi, In my application I have created Listctrl on dialog with check box option.I need to handle check box selection or deselection events.Can anyone tell me which message handle I need to take. Regards, Rekha.
-
Applications list in Windows mobileHi, I am developing smart phone (Windows mobile) win32 console application which should be able to invoke any application in Windows mobile . So needs to get the list of all applications in the device . Can u give me some idea how could it be done . I have searched for it in many sites . Please help me in this issue I lost here. Thanks in advance for any help Regards, Hema.
-
Windows mobile application developmentHi, I am developing a smart phone win32 console application in which I am sending the virtual key codes to Keyboard event using SendInput() API and taking the screen shot immediately, but here the problem is when I am trying to send the key codes to test some application like making call I will have some sequence of key events like opening the contacts using "rightsoft" , selecting the number dialing it using "talk" key event then waiting till the call connects and for all these events I have to capture the current screen shot and also as soon as the call ends again I have to take the screen shot showing that call has been ended in the application I am not able to know which application will the user test only I am concerned with passing the key events starting from ideal screen (desktop) to do testing using the key events . Same problem occurs when I try to load some web page while testing Internet Explorer application that is after how much time I should take the screen shot. [u][b]I thought that if the application can be able to catch some notification sent by OS that call made, call connected, call hasbeen ended, page laoded completely then I can capture the screenshots perfectly for every event.[/b][/u] So can u kindly tell me whether there is any API in win32 to do this. Thanks in Advance for any help Regards, Hema.
-
Multiple selection in list controlThanks for your reply.If I select muiltiple items with "ctrl" button then I can able to do multiple selection. But for ListBox this is not the case. Previously I thought I can do multiple selection without "ctrl" button as Listbox.Can I do that?
-
Multiple selection in list controlHi, I have created MFC application.I have used ListControl in it.I need to use multiple selection in ListControl.I have made single selection false.But it does not work.I have added following line.
m_lcSample.ModifyStyle(LVS_SINGLESEL, 0);
But it does not work.Can anyone help me.
-
how to get command line arguments in MFCthanks for your reply.This is what I needed.
-
how to get command line arguments in MFCHi, I need to execute my project exe through command prompt. 1) If I give path of exe in command prompt(one argument) then it should execute GUI version of Project. 2) If I give two arguments in command prompt then it should execute CLI version of Project. How can I get command line arguments In MFC.In windows programming we are having int _tmain(int argc, _TCHAR* argv[]) main function.But how can I do it in MFC.
-
how to reset content of Listcontrolthanks for your reply.
-
how to reset content of ListcontrolHi, If we want to reset the content of ListBox simply we will use ResetContent() function. But how can I reset content of Listcontrol.Can anyone help me.
-
Storing binary data in xml file msxml and sending it to client through winsockHi, I am developing a win32 console project for a smart device which acts as server in which I need to send jpeg file (binary data) stored in XML file to be transferred to client (in PC)through winsock. I am using fopen(),fscanf() to read the data in jpeg file into a buffer to be stored into the XML file element using put_text() and even I need to send it through socket by again reading the .xml file uisng fread into some buffer and sending it to the client. But I am failing when I try to validate the XML file which is giving error :XML Parsing Error: not well-formed Location: http://www.w3schools.com/xml/xml\_validator.asp Line Number 1, Column 197: And also if I try to send some .xml file formed on server to client through winsoch using fread() I am getting the error like :Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/root/My Documents/PC... Below is the .xml file which I need to transfer Plz kindly respond me in time wht steps shud be done for storing binary data into .xml file and sending the .xml file generated through socket using fread(). Thanks in advance for any help........ Regards, Hema. ======================================================================================================================_________________________________________________________________________________________ .xml file: <MobData><Application><UID/><Name/></Application><Report><CurrentTestSuiteID>1</CurrentTestSuiteID><CurrentTestCycleID>1</CurrentTestCycleID><CurrentTestCaseID>1</CurrentTestCaseID><ImageData>ÿØÿàJFIF ÿþ*Cris made this JPEG with his own encoderÿÛ„ $.' ",#(7),01444'9=82<.342 2!!22222222222222222222222222222222222222222222222222ÿÀ @ð ÿÄ ¢ </ImageData></Report></MobData>
-
Storing binary data in xml file msxml and sending it to client through winsockHi, I am developing a win32 console project for a smart device which acts as server in which I need to send jpeg file (binary data) stored in XML file to be transferred to client (in PC)through winsock. I am using fopen(),fscanf() to read the data in jpeg file into a buffer to be stored into the XML file element using put_text() and even I need to send it through socket by again reading the .xml file uisng fread into some buffer and sending it to the client. But I am failing when I try to validate the XML file which is giving error :XML Parsing Error: not well-formed Location: http://www.w3schools.com/xml/xml\_validator.asp Line Number 1, Column 197: And also if I try to send some .xml file formed on server to client through winsoch using fread() I am getting the error like :Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/root/My Documents/PC... Below is the .xml file which I need to transfer Plz kindly respond me in time wht steps shud be done for storing binary data into .xml file and sending the .xml file generated through socket using fread(). Thanks in advance for any help........ Regards, Hema. ======================================================================================================================_________________________________________________________________________________________ .xml file: <MobData><Application><UID/><Name/></Application><Report><CurrentTestSuiteID>1</CurrentTestSuiteID><CurrentTestCycleID>1</CurrentTestCycleID><CurrentTestCaseID>1</CurrentTestCaseID><ImageData>ÿØÿàJFIF ÿþ*Cris made this JPEG with his own encoderÿÛ„ $.' ",#(7),01444'9=82<.342 2!!22222222222222222222222222222222222222222222222222ÿÀ @ð ÿÄ ¢ } !1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùú w !1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?Æ‚Ö[¹–"’Y\áR5,Äû _[&’»>:7nÈ–ëH¸²Gymqnän*$zàŠÎ.W‹¿¡¤£RŸÅzgÄÝYÿ1þÝ4%Q‡öL Õ¤üÇøRöH¥VBÿaÛ7W›óáSì"R¯ ÿ„vѺÉ?ýô?Â¥áâ5
-
how to maintain version information to projectHi, I am able to implement version information.Thanks for your reply.
-
how to maintain version information to projectHi thanks for your reply. Link is very useful for me.
-
how to maintain version information to projectHi thanks for your reply. I needed this kind of code.I will work on that and let you know.
-
how to maintain version information to projectHi, I am using visual studio 2005.I have developed MFC application.I need to maintain version information of data files and code.I am new to MFC.I have seen Version under Resource view.How can I use that resource to display version of Project.Can anyone suggest me.Meanwhile I will also search in google.
-
how can I get Push button setfocus eventHi, Thanks for your reply.I am calling refresh function after second dialog returns. My code is working fine.