CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Neerad

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    696

    Thanks Newnic, This works for whole Dilog box and...

    Thanks Newnic, This works for whole Dilog box and not for the individual Static text items.

    All the text items gets changed here. I want to have different colors for differnt text items.
  2. Replies
    4
    Views
    696

    Thanks buddy but this seems to be working for the...

    Thanks buddy but this seems to be working for the Doc View programs, I am talking about the Dialog box programs.

    I am only able to change the font of static text on the dialog boxes.

    Please...
  3. Replies
    4
    Views
    696

    Color change on Dialog box items.

    I want to change the foreground and back ground color of

    1) The Static Text I have put on the dialog box.
    2) The text of the edit box on the dialog box.

    Please help me out!
  4. Thanx

    Thanx buddy,

    This methametics will some day kill me. I gotta start doing some maths again right from grade 5 onwards!

    Thanx a lot.
  5. Thanx and more!

    Thanks a lot buddy,

    The problem was that i read the MSDN which explained in the following way

    search
    template<class FwdIt1, class FwdIt2>
    FwdIt1 search(FwdIt1 first1, FwdIt1 last1,
    ...
  6. How To Use Search (Template) in algorithms??

    Any body knows how is search template to be used which is declaed in algorithms??
  7. Thread: afx_msg is what

    by Neerad
    Replies
    1
    Views
    950

    afx_msg is what

    Can any body tell me the significance of afx_msg written in fron of so many functions??? it is just #defined in afxwin.h as
    #ifndef afx_msg
    #define afx_msg
    #endif
  8. Actually COM Interface just does that. A COM dll...

    Actually COM Interface just does that. A COM dll is able to keep track of functions in different executables for notifying as and when required. So there must be a way without using interprocess...
  9. Replies
    14
    Views
    1,466

    Dll does not poses any problem for the above...

    Dll does not poses any problem for the above code.
    You can always include the header file in dll and if not available just declare the functions in the dll itself.
    Since dll sits just within the...
  10. Replies
    14
    Views
    1,466

    #include class clssA { ...

    #include<stdio.h>

    class clssA
    {


    public:

    void fun_Of_clssA_2B_called_By_Ptr();
    void (clssA::* retAddressOf_fun())();
  11. Replies
    1
    Views
    1,351

    GetCurrentProcess()

    Has anybody used this API????????/

    GetCurrentProcess()

    The result is always the max that can fit into a unsigned integer.

    try using this.

    unsigned int uResult;
    uResult =...
  12. Replies
    1
    Views
    689

    Open common dialog????

    :mad:

    void CDlgOpenDlg::OnOK()
    {
    // TODO: Add extra validation here

    OPENFILENAME ofn; // common dialog box structure
    char szFile[260]; // buffer for file name
    HWND hwnd; ...
  13. Replies
    2
    Views
    1,354

    Re: Making win32 dll with GNU C compiler

    If you wish that you can compile the code so that it produces a shared object under Linux/Unix environment and a dll under windows environment and would then run in their respecive environments. This...
  14. Replies
    2
    Views
    1,354

    Re: Making win32 dll with GNU C compiler

    If you require that your supposedly called dll should be named as libSomething.so under Unix/Linux environment and Something.dll under windows and should be able to compile the same code under two...
  15. Replies
    7
    Views
    986

    Re: C/C++ Function Call

    I wish to read an ini file whereupon i wish to write something like this.
    ValueModifier = "Sum F1 F2"
    When i have the above string "Sum F1 F2" read in some character array, i should be able to...
  16. Replies
    7
    Views
    986

    Re: C/C++ Function Call

    Your solution really helped me thinking in new direction. But may be i wasn't very clear in putting up my requirements. I needed something like an & operator in Foxpro or a function like "CallByName"...
  17. Replies
    7
    Views
    986

    Re: C/C++ Function Call

    It's about really making things flexible. U See if this were possible the way i want, I would be able to define the rules (applied to the incomming data) into the ini file and thus making things...
  18. Replies
    7
    Views
    986

    C/C++ Function Call

    I wonder if it is possible to call a function whose name is stored in a character variable.
    i.e. if Str1[4] holds "Sum" Then is it possible to call Sum by refering it through Str1? Inline Assembly,...
  19. Replies
    5
    Views
    49,672

    End of File Character?

    End of file character to my knowledge is ^Z.

    Is there a way to delete from any given file?

    if it is ^Z or let's say any other character - Can placing the same character any where in between...
  20. Thread: Com in VC++

    by Neerad
    Replies
    2
    Views
    840

    Com in VC++

    How can a com client be written in VC++.
    i have already made a COM component which is used in VB. I want to use the same component in another VC++ application and let me have access the interfaces...
  21. Replies
    2
    Views
    478

    Why longer array works?

    Scan through the following code

    #include &lt;stdio.h&gt;

    char *retval()
    {
    char myval[100] = "100 retval";
    return myval;
    }
  22. Replies
    2
    Views
    567

    Why longer array?

    Scan through the following code

    #include &lt;stdio.h&gt;

    char *retval()
    {
    char myval[100] = "100 retval";
    return myval;
    }
  23. Replies
    5
    Views
    981

    Re: Why Pointer to Pointer?

    Thanks! Thanks a lot for the wonderful reply! I have understood now what was lacking... and sorry that i forgot to remove the wrong code in my solution. I shall verify a couple of things and shall...
  24. Replies
    5
    Views
    981

    Re: Why Pointer to Pointer?

    Your site address does not solve the problem at all. I need to know why cannot "Just" the Abstract class pointer in my example be used? instead of pointer to pointer to the class (in the solution). ...
  25. Replies
    5
    Views
    981

    Why Pointer to Pointer?

    Hi, My problem is "Why"
    following is the code i am working on.
    class AbstractBase
    {
    public:
    virtual void funct() = 0;
    };
    class Child : public AbstractBase
    {
    void funct()
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured