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

tingu

@tingu
About
Posts
20
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Identify 32 bit binary or 64 bit binary
    T tingu

    Thanks David.

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

  • Identify 32 bit binary or 64 bit binary
    T tingu

    I am looking for a C++ function which can identify the architecture of an executable file (binary) e.g. whether it is a 32 bit or 64 bit. I heard such a function might be available in imagehlp.dll Can somebody help?

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

  • timer for 5 seconds.
    T tingu

    Can somebody send me timer code for 5 seconds? I need to put it so that form can wait to be closed for 5 seconds. I need to show the form for 5 seconds before closing. Here is the code: private void Form1_Load(object sender, EventArgs e) { this.Show(); int ret1 = 0; int ret2 = 0; ret1 = ConfigureSSE1(); ret2 = CreateLogin(); // Add code here to wait for 5 seconds to display the form which has Label, "Configuring..." this.Close(); }

    C# question

  • this.show() doesn't display controls.
    T tingu

    Can you send me sample code for timer for 5 seconds? I just want it to display the form for 5 seconds before closing.

    C# question

  • this.show() doesn't display controls.
    T tingu

    Label is the control on the form.

    C# question

  • this.show() doesn't display controls.
    T tingu

    I need to display form for 5 seconds. I have following code, this.show(); int ret1 = 0; int ret2 = 0; ret1 = Configure1(); ret2 = CreateLogin(); System.Threading.Thread.Sleep(5000); this.Close(); The form displays but it doesn't display the label on the form. Is there any other way to achieve the same?

    C# question

  • Close the form programmaticaly.
    T tingu

    I tried this.close() again and got system.objectdisposedexception exception. So I called this.dispose() before this.close(), but still the same exception. What is the proper code for closing the form? Thanks.

    C# csharp help question

  • Close the form programmaticaly.
    T tingu

    I should Application.Exit() be called in main()? If so I tried it, but shows the same error.

    C# csharp help question

  • Close the form programmaticaly.
    T tingu

    No, I don't think so. It is a very simple application with 2 functions. Is there a way to figure out if any other thread is running? Thanks.

    C# csharp help question

  • Close the form programmaticaly.
    T tingu

    I have created a visual C# windows application project with one form. I have removed the close x button by setting ControBox=False. Then if I use this.close() method to close the form I get error. It doesn't show any error message but shows dialog "application has top close...". I was under the impression that it was happening due to Application.Run method. But can anyone please suggest a solution to this?

    C# csharp help question

  • "filename.chm not a windows help file, or the file is corrupted"
    T tingu

    :(When I am trying to launch help file (.chm file) from within x64 release build using winapi htmlhelpa, it gives error "filename.chm not a windows help file, or the file is corrupted". The same code works for win32 release build. Please advise.

    C / C++ / MFC help announcement

  • "Edit" part of MFC menu.
    T tingu

    Hi, Those Cut/Copy/Paste are not active. Those look deactivated. I am not able to click on it. I have an edit box in the application, where I have typed text. I am not able to copy it using this control. If you have any suggestion, please let me know. Thanks, Harsha

    C / C++ / MFC c++ question

  • "Edit" part of MFC menu.
    T tingu

    Hi, I have created MFC SDI application. It is working except "Edit" part of the menu. Do I need to modify any code to make it work? I am not able to cut, copy or paste using it. Thanks, Harsha

    C / C++ / MFC c++ question

  • SDI MFC APP -- Change title
    T tingu

    Hi, I have created MFC SDI application. I see the title as "Untitled App" after execution. How to change it to the desired one? I don't see any caption in the form's properties. I have changed the caption in AboutDialog, but that doesn't help to change to caption of the application. Thank you. Harsha

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

  • Initialization part in SDI MFC project.
    T tingu

    Hi, Thank you. I am adding the initialization code related to the controls I have added on IDD_APP_FORM (Dialog). So I guess I should add initialization code to view's OnInitialUpdate() method. In which case document's OnOpenDocument() method is used? Thanks, Harsha

    C / C++ / MFC question c++

  • Initialization part in SDI MFC project.
    T tingu

    Hi, I am changing my dialog based MFC application to SDI application. I have the initialization code in TestDlg::OnInitDialog(), in the part //TODO: Add extra initialization here What is the equivalent function in SDI? Where can I add this extra initialization? I see CAppView::OnInitalUpdate() function, but there isn't //TODO: Add extra initialization here comment. Thanks, Harsha

    C / C++ / MFC question c++

  • Errors: MSVC 6.0, SDI MFC APP.
    T tingu

    Hi David, I will correct it, but then do you think that I should include afxres.h explicitly in StdAfx.h file? Thank you. Harsha

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

  • Errors: MSVC 6.0, SDI MFC APP.
    T tingu

    What do you mean by it? Thanks, Harsha

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

  • Errors: MSVC 6.0, SDI MFC APP.
    T tingu

    Hi it looks like this: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__D535EB41_66D7_43B5_8D02_0D7D90278354__INCLUDED_) #define AFX_STDAFX_H__D535EB41_66D7_43B5_8D02_0D7D90278354__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #include // MFC core and standard components #include // MFC extensions #include // MFC Automation classes #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_STDAFX_H__D535EB41_66D7_43B5_8D02_0D7D90278354__INCLUDED_) Thanks, Harsha

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

  • Errors: MSVC 6.0, SDI MFC APP.
    T tingu

    Hi I am creating SDI MFC sample App. I followed the steps given in "http://www.codeproject.com/dialog/mdisdiapps.asp". I have not yet added any of my code. I am getting these 2 errors while compiling: Test_SDI\MainFrm.cpp(55) :error C2065: 'CBRS_GRIPPER' : undeclared identifier Test_SDI\MainFrm.cpp(55) :error C2660: 'CreateEx' : function does not take 3 parameters Any suggestions? Thanks, Harsha

    C / C++ / MFC c++ com help 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