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
T

Taruni

@Taruni
About
Posts
65
Topics
45
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dockable Pane
    T Taruni

    Hi, I have created a dockable pane in my childframe with a tree control.When I run my application, the dockable pane is nicely created, but the problem is - the splitter of it is not seen until I once click the autohide pane. I am unable to understand the problem.I have posted this problem long back in the same forum, but couldn't get the answer. Please some one let me know as how to intially display the dockable pane with the splitter . I am using the new MFC feature pack,vc9. Thanks in advance.

    Taruni

    C / C++ / MFC c++ data-structures help tutorial

  • visual style and colors for dialog boxes and controls placed on it.
    T Taruni

    Hi, I have started using VC 2008 and MFC feature pack. Could anyone tell me as whether there is any way to make the visual style and colors of the application even applicable to the dialog boxes and the controls placed on the dialog boxes ? Thanks in advance.

    Taruni

    C / C++ / MFC c++ question

  • DockablePanes - Splitters are not seen
    T Taruni

    Hi, I have created multiple dockablepanes in the childframe, but I have one problem. There are four dockable panes in my childframe and the splitter for only the last dockable pane is only seen. When I double click or adjust the last pane's splitter or click on the "Auto Hide" button of any of the dockable panes or close any of the dockable panes, then only all the other panes splitters are seen. Please let me know as how to make the splitters of all the panes visible as soon as run my application. Thanks in advance.

    Taruni

    C / C++ / MFC help tutorial

  • Dockable Panes
    T Taruni

    Thank you. I am able to create multiple dockablepanes in the childframe, but I have one more problem. There are four dockable panes in my childframe and the splitter for only the last dockable pane is only seen. When I double click or adjust the last pane's splitter or click on the "Auto Hide" button of any of the dockable panes or close any of the dockable panes, then only all the other panes splitters are seen. Please let me know as how to make the splitters of all the panes visible as soon as run my application.

    Taruni

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

  • Dockable Panes
    T Taruni

    Hi, I am using new MFC Feature pack and trying to create 4 DockablePanes in the child frame. A view is created in each of these dockable panes.When I run the application, only two of the panes (the first and the last one) are only shown and the remaining are hidden. Once I drag the splitters, they are seen and they function normally from then.I am unable to trace the problem. Is there any limit on the number of dockable panes that an application can have? Could anyone let me know as how to solve this problem so that I can view all the panes? Thanks in advance

    Taruni

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

  • view in a childframe
    T Taruni

    Hi, Could anyone tell me how to create a view using the "Create()" in the child frame and that too the view should completely occupy the ChildFrame's client area. Thanks in advance

    Taruni

    C / C++ / MFC tutorial

  • Passing an interface pointer to a component
    T Taruni

    Hi, I have a vc++ application that has an interface IMyInterface and a class derived from this interface.I would like to pass a pointer to this interface, to an interface method declared in a component. I am trying to manually edit the header files and .idl file in order to declare the pointer to the interface declared in vc++ application. What I did is, I have included the vc++ app interface header file in the .idl file. I don't whether I can do this or not. But I am trying...When I did so, I am getting error "error MIDL2025 : syntax error : expecting a type specification near "virtual". Please let me know as how to pass my interface pointer to a method in the component and what are the changes that are to be made. Thanks in advance.

    Taruni

    COM c++ help tutorial

  • Re: Inclusion of Header Files
    T Taruni

    Thank you David. If I include those header files in .cpp file, then the compiler generates the error as it doesn't find the header file for CObject in MyClass.h file.Again if I include afx.h (which is usually indirectly included by stdafx.h in MyClass.h file in order to solve, the error "compiler limit: internal heap limit is reached " is once again generated.

    Taruni

    C / C++ / MFC c++ help

  • Inclusion of header files
    T Taruni

    Thank you David. If I include those header files in .cpp file, then the compiler generates the error as it doesn't find the header file for CObject in MyClass.h file.Again if I include afx.h (which is usually indirectly included by stdafx.h in MyClass.h file in order to solve, the error "compiler limit: internal heap limit is reached " is once again generated.

    Taruni

    C / C++ / MFC help tutorial question

  • Inclusion of header files
    T Taruni

    "The compiler reports the source file under compilation when the error occurs" - Pallini are you speaking of "'CMyClass' : is not a class or namespace name" error?

    Taruni

    C / C++ / MFC help tutorial question

  • Inclusion of header files
    T Taruni

    Thank you krmed. I have even tried that. When I tried to include "stdafx.h" in .cpp files, I am getting the error "error C2504: 'CObject' : base class undefined". As the other alternatives I have even tried including "afx.h" and "afxwin.h" . But in vain.

    Taruni

    C / C++ / MFC help tutorial question

  • Inclusion of header files
    T Taruni

    In adding to the generated classes for SDI application (all the .h files however has #pragma once statements and all .cpp files have #include "stdafx.h" statements) , I am writing a serializable class(CMyclass) that is derived from CObject. In the MyClass.h file, I am including "stdafx.h" (as the header file for CObject and others) file and in the MyClass.cpp file, I am including "MyClass.h" file . Upto this point the application compiles nicely. But whenever I include "MyClass.h" in "MyTrialDoc.h" (in order to create a global object of CMyClass) I get that the compiler limit.When I tried to include #pragma once , I got all the errors which I have mentioned in my previous post.

    Taruni

    C / C++ / MFC help tutorial question

  • Inclusion of header files
    T Taruni

    Thank you Pallini. #program once is already there in all the header files except in MyClass.h.When I tried to include, I am getting the errors 'CMyClass' : is not a class or namespace name syntax error : identifier 'CMyClass' syntax error : missing ';' before '}' syntax error : missing ';' before '}' . . . . . fatal error C1003: error count exceeds 100; stopping compilation

    Taruni

    C / C++ / MFC help tutorial question

  • Inclusion of header files
    T Taruni

    Hi, I have created an SDI application and created a new class "CMyClass" that is derived from CObject. So I have included the header file "stdafx.h/afx.h " in CMyClass.h. I am trying to create an object of CMyClass in CMyDoc.h and for this purpose I have to include MyClass.h.When I do so and compile I am getting the "warning C4182: #include nesting level is 360 deep; possible infinite recursion" and "fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit". In order to solve the problem , I have maximum tried to minimize the inclusion of header files. But couldn't. How to solve this problem? Thanks in advance.

    Taruni

    C / C++ / MFC help tutorial question

  • Serializing the objects of a class
    T Taruni

    Hi, I have written a perfect Serializable class "X" with two variables and taken a dialog box with two editboxes. I am updating the information from dialog box into "X" variables and trying to serialize that class object. Where should I call X.Serialize(ar) ? Is it in Document class? If so, is it mandatory ? I have also tried to do by declaring a global variable"Xobj" in the document class and calling the Xobj.Serialize(ar) in the Document's Serialize(). However I am getting "error C2011: 'X' : 'class' type redefinition".Perhaps may be the header file is getting included twice, I guess. But when I am trying to resolve the problem, it has entered an infinite loop and things have become too worst. I have gone through many articles since yesterday on "Serializing the objects" where one serializable class is getting serialized in another Serializable class and so on. But my doubt is how and where will the root serializable class's Serialize() get called. Please some one help me on this topic. I am unable to proceed with my sample application. Any sample application could also help me. Thanks in advance.

    Taruni

    C / C++ / MFC help question

  • Serializing the objects of a class
    T Taruni

    Hi, I have written a serializable class.How to serialize the object of this class or where should (in which clas) the Serialize function declared in the serializable class be called over the object Thanks in advance

    Taruni

    C / C++ / MFC tutorial

  • using com dll resources in a vc++ application
    T Taruni

    Hi, I am working with COM dll resources. I have created a menu in a com dll and provided an interface with a method to return the handle to the menu. When I am trying to pass this handle(converting to int) to CSingleDocTemplate of InitInstance() and trying to run the application, I am getting "Failed to create empty document". My intention is to use the menu(resource) which is present in the com dll in my application. In order to achieve this, is this the correct way of proceeding or not? If yes, where am I doing wrong? If not, please suggest an alternative mechanism. Thanks in advance.

    Taruni

    C / C++ / MFC c++ com question learning

  • working with com dll resources
    T Taruni

    Hi, I am working with COM dll resources. I have created a menu in a com dll and provided an interface with a method to return the handle to the menu. When I am trying to pass this handle(converting to int) to CSingleDocTemplate of InitInstance() and trying to run the application, I am getting "Failed to create empty document". My intention is to use the menu(resource) which is present in the com dll in my application. In order to achieve this, is this the correct way of proceeding or not? If yes, where am I doing wrong? If not, please suggest an alternative mechanism. Thanks in advance.

    Taruni

    COM com question learning

  • NT Services (ATL Com AppWizard - ServerType:Service(exe) )
    T Taruni

    Hi, I would like to learn about services and searched for the articles. But none of them were useful to me. Some of the articles are in fact nice, but not for a beginner like me . I would like to know about 1) what services are 2) where they can be used 3) how to use ATL Com AppWizard to create the service using Service(Exe) server type 4) A simple example (almost all the ones I have gone through today are looking like small projects, making the things more complicated for me to understand) Could anyone post some nice article regarding this? Thanks in advance.

    Taruni

    C / C++ / MFC tutorial c++ com sysadmin question

  • NT Services (ATL Com AppWizard - ServerType:Service(exe) )
    T Taruni

    Hi, I would like to learn about services and searched for the articles. But none of them were useful to me. Some of the articles are in fact nice, but not for a beginner like me . I would like to know about 1) what services are 2) where they can be used 3) how to use ATL Com AppWizard to create the service using Service(Exe) server type 4) A simple example (almost all the ones I have gone through today are looking like small projects, making the things more complicated for me to understand) Could anyone post some nice article regarding this? Thanks in advance.

    Taruni

    ATL / WTL / STL tutorial c++ com sysadmin 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