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
G

gucy

@gucy
About
Posts
36
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to synchronize the input of two windows
    G gucy

    i want to synchronize the keyboard input of two windows.that is , i have two windows(window1 and window2).window1 is the top window on the desktop,window2 is behind window1. there is a edit control on both windows. when i input char in the edit of window1.i want window2 change with window1.juse like i both input char in edit of window2. the function AttachThreadInput seems to resolve my problem, but it does not work as i expected. anyone can tell me other solutions. here i should tell that window1 and window2 are in deffrent processes.window2 is an existent third-party program. i can do nothing about it.all i can do is in window1. gucy

    C / C++ / MFC help tutorial

  • how to synchronize the input of two windows
    G gucy

    i want to synchronize the keyboard input of two windows.that is , i have two windows(window1 and window2).window1 is the top window on the desktop,window2 is behind window1. there is a edit control on both windows. when i input char in the edit of window1.i want window2 change with window1.juse like i both input char in edit of window2. the function AttachThreadInput seems to resolve my problem, but it does not work as i expected. anyone can tell me other solutions. here i should tell that window1 and window2 are in deffrent processes.window2 is an existent third-party program. i can do nothing about it.all i can do is in window1. gucy

    C / C++ / MFC help tutorial

  • how to get the wm_keydown msg
    G gucy

    CMyFormview is a View in my dll.it is derived from CFormView.Why it does not respond to on_keydown message,also it does not respond to the overrided function PreTranslateMsg . gucy

    C / C++ / MFC tutorial

  • How to support axtivex control in my mfc regular dll
    G gucy

    by the way ,i had added AfxEnableControlContainer() in my dll app. if i add activeX control using resource edit,the dialog will not show at all. if i dynamically create the control in the program. create failed. gucy

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

  • How to support axtivex control in my mfc regular dll
    G gucy

    when i create a Cwebbrowser contorl in my dll,it occur seriou error. i seem that the dll doesn't support activeX control. how can i realize webbrowser in my dll. gucy

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

  • mfc activeX control
    G gucy

    i'v found the control now gucy

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

  • mfc activeX control
    G gucy

    i don't want to use ActiveX control,i want common control. But i use vc6.0 resource editor.is there any solution? gucy

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

  • mfc activeX control
    G gucy

    i want to add datatime pickup activeXcontorl on the dialg in my dll. can i do like that, if can, how to realize ? gucy

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

  • show dialog in dll
    G gucy

    yes,if i add the macro to the second one,it still work.it does not depent on the macro. gucy

    C / C++ / MFC c++ question

  • show dialog in dll
    G gucy

    hi, The dialog template is in dll in both of the two funcion. gucy

    C / C++ / MFC c++ question

  • show dialog in dll
    G gucy

    i want to show a dialog in regular dll which is dynamicaly linked to mfc. the exported func is : //dynamicly extern "C" __declspec( dllexport ) void Trade1() { AFX_MANAGE_STATE(AfxGetStaticModuleState()) CDlgLogon dlg; dlg.DoModal (); } which does not work. if i set the dll staticly linked to mfc .it works well //staticly extern "C" __declspec( dllexport ) void Trade1() { CDlgLogon dlg; dlg.DoModal (); } is that means i can't use mfc in static library? gucy

    C / C++ / MFC c++ question

  • another quesion about regular dll
    G gucy

    i create a regular dll named MyDll using MFC, i want the dll popup a dialg in the beginning of the function CMyDllApp::InitInstance() ,just as i did in my exe. but here caused serious error in wincore.cpp (line:884) BOOL CMyDllApp::InitInstance() { // TODO: Add your specialized code here and/or call the base class CDlg dlg; dlg.DoModal(); return CWinApp::InitInstance(); } who can tell me what's wrong to my program? gucy

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

  • how to free library by dll self
    G gucy

    we use freelibrary() to free library in our client program. but can we free the library by itself,if yes,how? gucy

    C / C++ / MFC tutorial question

  • regular dll
    G gucy

    Can i create singledocument template in regular dll.and use it in exe gucy

    C / C++ / MFC

  • message
    G gucy

    i did let mfc to do it.and i didn't change the parameter or return type. i've look up the msdn.it said the function is called when the view is first attached to the document.but my app has no document.it is a extension dll,and the view is just one of the views of the splitterwindow. Does that do something to my app? gucy

    C / C++ / MFC debugging question

  • message
    G gucy

    My class relationship is: class CViewBase::CFormView {......} class CViewLogon::CViewBase {......} CViewLogon::OnInitialUpdate() {......} i want do something in func CViewLogon::OnInitialUpdate(),but the program did not execute the func at all.in other word,i can't trace into the func CViewLogon::OnInitialUpdate(). what's up to my program? gucy

    C / C++ / MFC debugging question

  • how to show my window derived from CWnd
    G gucy

    but i can't access your email address! gucy

    C / C++ / MFC tutorial question

  • how to show my window derived from CWnd
    G gucy

    the app the a dialog based app. i clicked the button on the dialog. nothing changed. i think it would have pop out a window. Can i mail the source to you? gucy

    C / C++ / MFC tutorial question

  • how to show my window derived from CWnd
    G gucy

    it do not work at all:( gucy

    C / C++ / MFC tutorial question

  • how to show my window derived from CWnd
    G gucy

    i want to show my window which is derived from CWnd in the button clicked event .the following is my code void CTmp_dlgDlg::OnButton1() { RECT rect; CString str; GetWindowRect(&rect); CMyWnd *mywnd = new CMyWnd; str = AfxRegisterWndClass( 0); int ret=myWnd->Create (str,"text",WS_VISIBLE|WS_CHILD,rect,this,1234); mywnd->ShowWindow (SW_SHOW); } CMyWnd::CWnd but i can't show the window,why? gucy

    C / C++ / MFC tutorial 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