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

Search:

Type: Posts; User: pgrohs

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    671

    CHtmlEditView in VC6

    hi,
    does anyone know how it is possible to use the CHtmlEditView class from VC7 in VC6?

    thank you very much.
  2. Replies
    10
    Views
    1,354

    CYourChildFrame::OnActivate()// in dll { ...

    CYourChildFrame::OnActivate()// in dll
    {
    CWnd* pFrmWnd* = GetParentFrame(); // get frame wnd from exe

    //now create your toolbar with pFrmWnd as parent wnd
    //(if never tried somthing...
  3. Replies
    10
    Views
    1,354

    sorry, when i wrote my first answer i didn't knew...

    sorry, when i wrote my first answer i didn't knew that you have spoken about a mdi.

    you could create an interface with a method to which you can give an pointer to the toolbar. derive a subclass...
  4. Replies
    10
    Views
    1,354

    could this...

    could this help you with your toolbars?
  5. Replies
    10
    Views
    1,354

    i do not know if i have understood you correctly,...

    i do not know if i have understood you correctly, so say it if my answer does not agree with your expectation.

    if you have opened your new dll project and switched to the resource view at the left...
  6. Replies
    1
    Views
    615

    If you select database support header files for...

    If you select database support header files for database classes (CRecordSet ...) are included into stdafx.h.
  7. Replies
    10
    Views
    1,354

    Re: how to make my dll ?

    It depends on what you want. You need an app class in the .exe but you can use an app class as base the dll.


    You can open your old resouce file in the explorer and open your dll project before....
  8. Thread: menu problem

    by pgrohs
    Replies
    12
    Views
    1,286

    isn't it the same class i have send you? i have...

    isn't it the same class i have send you? i have never tried it but is it possible to use this class inside a dialog as any normal menu too?
  9. Thread: menu problem

    by pgrohs
    Replies
    12
    Views
    1,286

    but you try to access your menu item with an ID i...

    but you try to access your menu item with an ID i have seen.
    i=sub->SetMenuItemBitmaps(ID_TEST_CHOOSE,MF_BYCOMMAND,&cb,&cb);
  10. Thread: menu problem

    by pgrohs
    Replies
    12
    Views
    1,286

    has you also changed the '2' to your ID?

    has you also changed the '2' to your ID?
  11. Thread: menu problem

    by pgrohs
    Replies
    12
    Views
    1,286

    you should not create an owner drawn menu item...

    you should not create an owner drawn menu item expect you drawn this item in the owner window.

    int i=sub->AppendMenu(MF_STRING,ID_TEST_CHOOSE,&cb);
  12. Thread: menu problem

    by pgrohs
    Replies
    12
    Views
    1,286

    i use this menu class...

    i use this menu class.
  13. Replies
    2
    Views
    1,002

    you should handle your messages in the mainframe....

    you should handle your messages in the mainframe. with the wizard you can attach the dlg bar to your mainframe class.
  14. Replies
    3
    Views
    622

    you can use the api for writing and reading .ini...

    you can use the api for writing and reading .ini files. just visit msdn under 'WriteRegistryKey'
  15. Replies
    9
    Views
    926

    you could try to write a copy constructor and...

    you could try to write a copy constructor and overwrite the = operator so you can return static objects.
  16. Thread: ON_COMMAND call

    by pgrohs
    Replies
    6
    Views
    1,474

    see the msdn under 'WM_COMMAND'. a little hint:...

    see the msdn under 'WM_COMMAND'.
    a little hint: you can format the wparam with MAKEWPARAM.

    pYourView->SendMessage(WM_COMMAND, MAKEWPARAM(0, ID_YOUR_ID), 0);
  17. Replies
    21
    Views
    1,792

    Re: char* release version

    i would try this

    CString strkeyname="test";
    CString strKeyval ="mytest";

    char* charkeyname = (char*)malloc(strkeyname.GetLength());
    char* charkeyval = (char*)malloc(strkeyval.GetLength());
    ...
  18. Thread: ON_COMMAND call

    by pgrohs
    Replies
    6
    Views
    1,474

    wir sollte besser englisch schreiben, vielleicht...

    wir sollte besser englisch schreiben, vielleicht können dir andere ja besser helfen.

    i would try to get the current document from the document template with which you can get all attached views....
  19. Thread: ON_COMMAND call

    by pgrohs
    Replies
    6
    Views
    1,474

    Re: ON_COMMAND call

    You create a static view object?
  20. Replies
    9
    Views
    2,929

    CRuntimeClass* pRTC = RUNTIME_CLASS(CYourWnd);...

    CRuntimeClass* pRTC = RUNTIME_CLASS(CYourWnd);
    CWnd* pWnd = (CWnd*)pRTC->CreateObject();

    pWnd->Create(...see for parameters in msdn according to your wnd type...);

    pWnd->UpdateWindow();...
  21. Replies
    9
    Views
    1,110

    well, but how can you search something in a file...

    well, but how can you search something in a file if you have not read it? ch will never change in your program so you cannot get any usefull result. i do not know the methods of ifstream exactly but...
  22. Replies
    9
    Views
    1,110

    what kind of data are in your file? probably...

    what kind of data are in your file?
    probably you should get a hexeditor and find out the character with which the words are sparated.

    may i be allowed to know how many c++ programs you have...
  23. Replies
    9
    Views
    1,110

    if(ch==' ') { wordcount++; } there is a...

    if(ch==' ')
    {
    wordcount++;


    }

    there is a space character (' ').
    you are looking for a space character, don't you?
  24. Replies
    9
    Views
    1,110

    try it with int main() { char ch; int...

    try it with

    int main()
    {

    char ch;
    int wordcount=0;

    ifstream myfile;
  25. Thread: assert fires

    by pgrohs
    Replies
    13
    Views
    2,072

    i have changed the methode to see if it is a...

    i have changed the methode to see if it is a problem caused be the pointer:

    if(m_pSave != NULL)
    m_pSave->EnableWindow(m_pAccount != NULL ?
    m_pAccount->IsModified() : FALSE);
    ...
Results 1 to 25 of 51
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured