Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MailtoGops

@MailtoGops
About
Posts
69
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with unicode data
    M MailtoGops

    Hi, Is it returning the data ??????? or displaying like ???? (Suppose message box/MSDEV Editor).. If it displays ??????, you must install profer font on your PC. And also while creating fonts, you should mention the charset of the language you are using.. Operating systems also could be issues.. Can you tell me what operating systems you are using, font using and the language of interests... " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC help tutorial question

  • Linker Error
    M MailtoGops

    You use the tlb or idl files to extract the objects information.. You can do this by using #import<..> " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC debugging help announcement

  • why pure virtual function is needed
    M MailtoGops

    cedric moonen is right... Here Why you need Abstract class.. Consider the basic senario of having shape classes like Line, Rectangle, etc. In the real world, there is nothing called Shape... you cannot define a Shape,, The object could be regular, irregular... But you cannot not define Shape anywhere... Line is a Shape Circle is a Shape Rectangle is a Shape But Shape is not Shape... (U might confused more..if it is i am really sorry :) ) But if you look at Line, Circle, Rectangle they are measarable..ie you can find area, they will have line length, width, color, style etc.. So considering these features we have, all are put in to a Shape class in order to resuse the existing implementation... But as I told Shape is not Shape... You cannot draw a Shape.. So you need to protect the user to create Shape object...For that you need to make that class as abstract ie it must to have a pure virtual function, Pure virtual function doesn't has implementation (In c++ context) " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC

  • send message from thread to extended MFC DLL
    M MailtoGops

    This is my understanading of the problem... 1. You have an application and a dll 2. You are creating a thread which thread proc is in the DLL function 3. You need to send a message to the Thread which reside insode the dll.. Am I right? PostMessage and SendMessage are used to send or post a message to the same proc.. Obviously they are belongs to the Window and processed by the Window Proc. As you know Window and Thread are fundamentally different.. In your case, your have two threads (minimum, one is your application thread and another one is dll thread... For sending messages between the threads you have to use PostThreadMessage() function. For that you need the thread id of the destination. Hope this help you.. Let me know if you need more information... :) " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC c++ help question

  • Network program
    M MailtoGops

    Question is not clear. Can you explain further please.... " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC sysadmin

  • help needed
    M MailtoGops

    I think, you are doing the following --> Click the POP up menu, --> IT fires the event, in the event handler you are creating the Dialog Window. Before create the modal dialog, delete the pop up menu and create dialog " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC help tutorial question

  • Double Click File to open MFC ???
    M MailtoGops

    Hi, If it is SDI/MDI Application, it is quite easy... You need to have IDR_MAINFRAME which values are like this SDI\n\nSDI\nSDI Files (*.dra)\n.dra\nSDI.Document\nSDI Document.... After creating the document template call, EnableShellOpen(); RegisterShellFileTypes(TRUE); function. This will do.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC c++ tutorial question

  • [Message Deleted]
    M MailtoGops

    I don't think it is defined two times. Program used reference value. Check other possiblities.. Why do you want to use like this.. --> CWinApp& theApp = (* (static_cast (AfxGetApp()))); use like this.. CWinApp *pApp = AfxGetApp(); ASSERT(pApp != NULL); " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC

  • concerning PostMessage.....
    M MailtoGops

    You May need to use PIPE, MailSlot, Socket, DDE for interprocess communications.. Try this also. 1. Create a Private clipboard and place the message 2. Send a message to the another application 3. In the another app, Read the data from the clipboard and clear the clipboard Might have problem!!! in compatiblity or security reason.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC question

  • Problem with CString
    M MailtoGops

    You better rebuild the application again.. It might help.. :) " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC help c++ debugging question

  • Serial communication
    M MailtoGops

    Hi, Can you check this with Hyperterminal tool provided along with the operating systems?. If hyperterminal prints the right characters send by the microcontroller then we can dig into your code... Could you please do this?? And also check whether the characters sent by the microcontroller are ascii or unicode complaint.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC c++ com hardware debugging performance

  • Undo
    M MailtoGops

    very good article Nemanja Trifunovic " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    Managed C++/CLI tutorial question

  • memory issues when i opening the dialog box
    M MailtoGops

    Hi Raju, I have a few questions for you !!!! :) 1. Which operating system you are using? 2. Are you dealing with multilingual operating systems/system setting Basically, dialog boxes uses Dialig units(DLU) for creating dialog. So your dialog size depends on the font you are using/char set you are using.. Please have a look at this angle.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    Managed C++/CLI c++ delphi performance help

  • STA &amp; MTA
    M MailtoGops

    When I am into the STA or MTA threads, how can I check at runtime whether I am STA or MTA thread..

    COM question

  • program step into non defined area
    M MailtoGops

    a lot of confusion to me :) ok. Preprocessor symbols can be defined in two ways. (As I know) 1. in the source or header files 2. In the project setting. Please check the project settings, preprossor options.. BAsically All debug relateted preprocessor are defined in project setting only.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC question

  • Edit box
    M MailtoGops

    You can use MFC CEdit::GetLineCount() or the Win32 Message EM_GETLINECOUNT to get the number of lines. --> . If the number of lines is three or less it should come the center of the dialog vertically. I can't understand your question properly. do you meant to say if the number of lines are 3 or less, you don't want any scrollbar? " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC css question

  • MultiLanguage Support
    M MailtoGops

    1. You better go for custom message box, the code you can get it by google search. 2. Or if you use windows NT based operating systems, you can try to use French localized dlls. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC help question learning

  • trouble with UpdateAllViews()
    M MailtoGops

    UpdateAllViews() should not call OnCreate() method. Could you please make sure, you have created all views and initialized before calling UpdateAllViews() method. Show us some code snipet.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC help question

  • MDI MFC App Question
    M MailtoGops

    All you need do is go to Resource-->String table. There you can find entry for IDR_MAINFRAME. You can get help to fill out IDR_MAINFRAME through google. Other see the following example. IDR_MAINFRAME has to be set like this. sample\n\nSample\nSample Files (*.dat)\n.dat\nSample.Document\nSample Document " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC question c++ algorithms help

  • Class wizard problem
    M MailtoGops

    I think you have deleted the script generated by the application wizard(Basically a C++ comment lines(Statrs with /// which is used by the App wizard). Try to look at the similar code in other files or create a temporary project and copy those scripts.. I have to be carefull while doing this.. I don't think there any other options... Wish you better luck :) " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    C / C++ / MFC help json question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups