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

Tom Sapp

@Tom Sapp
About
Posts
8
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Font Dialog problems
    T Tom Sapp

    Other than this code called on a menu click: if ( fdFont->ShowDialog() == DialogResult::OK ) rtbDocument->Font = fdFont->Font; all the other code I have is to set options on the dialog to have a minimum size and maximum size. I haven't made a custom object or anything, just used what ever was added when I dragged the font dialog tool from the toolbox to the form. It also happens with the MessageBox.Show code as well. Here is that code: MessageBox::Show( this, message, caption, buttons, MessageBoxIcon::Question, MessageBoxDefaultButton::Button1 ); It's very weird and if you would like to, you can download the project here and take a look at all the code. Thanks, Tom Sapp http://www.sappsworld.com

    C / C++ / MFC help csharp visual-studio com tutorial

  • Font Dialog problems
    T Tom Sapp

    Ok, the even weirder part is this happens with the MessageBox.Show as well! Very Very Odd! Screen Shot Thanks, Tom Sapp http://www.sappsworld.com -- modified at 23:42 Saturday 5th November, 2005

    C / C++ / MFC help csharp visual-studio com tutorial

  • Font Dialog problems
    T Tom Sapp

    I have this very odd problem, my application contains and open, save, and font dialog box in it. I am using the ones that come with Visual Studio already, and when I first run my application and launch the font dialog it comes up all weird looking, see this screen shot, until I launch either the open or save dialogs. I dont have to do anything with them other than open them and then cancel them and once I do the font dialog works like it should. Anyone have any suggestions as to why this may be happening or how to fix it? Thanks, Tom Sapp http://www.sappsworld.com -- modified at 23:41 Saturday 5th November, 2005

    C / C++ / MFC help csharp visual-studio com tutorial

  • Multiple Forms in MS VC++
    T Tom Sapp

    Cool, apparently the #include "AboutDialog.h" part is what I was missing. I am used to using Delphi that automatically includes these types of things. I will try to remember that from now on! :D Thanks, Tom Sapp http://www.sappsworld.com

    C / C++ / MFC help csharp c++ winforms com

  • Multiple Forms in MS VC++
    T Tom Sapp

    I am creating a Windows Forms Application (.NET) and am trying to create and show my own About dialog but I can't figure this out. I have tried doing searches here and on the net but everything I am finding says to do one of two things: AboutDialog::Show(); or AboutDialog myDialog = new AboutDialog(); myDialog.Show(); Either way I do this it gives me an error of "error C2065: 'AboutDialog' : undeclared identifier" Forgive me for asking so many questions but I am still learning and this is one of the ways I find the easiest! Only problem is I am having a heck of a time figuring out how to search for stuff for C++. Thanks, Tom Sapp http://www.sappsworld.com

    C / C++ / MFC help csharp c++ winforms com

  • MessageBox used in C++ .NET
    T Tom Sapp

    Well, that resolved that issue. Now I have this issue: error C2514: 'System::Windows::Forms::MessageBox' : class has no constructors Guess I am not doing something right! Thanks, Tom Sapp http://www.sappsworld.com

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

  • MessageBox used in C++ .NET
    T Tom Sapp

    I am trying to use MessageBox in .NET but I keep getting an error. Code I am using: MessageBox( NULL, "This is the text", "MessageBox", MB_OK ); Error I am recieving: error C2065: 'MB_OK' : undeclared identifier I get this error, however, when I mouse over MB_OK it gives me a tooltip saying "#define MB_OK 0x00000000L". Anyone know what I can use in it's place or how to fix this? Thanks, Tom Sapp http://www.sappsworld.com

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

  • Save/Open Dialog
    T Tom Sapp

    I was wondering what the easiest way to get only the filename from the FileName property of the Save/Open dialogs in Visual C++? I've created a string variable and set it to SaveDialog1.FileName but that contains the path AND the filename. I know I could go through and find the first \ from the end of the variable and remove anything before it but there has to be an easier, less time consuming, way of doing this. In Delphi there was a property of the Save/Open dialogs that would automatically return only the filename and not the path, but, as far as I can tell, there is not one for Visual C++. Any help and/or ideas would be greatly appreciated! Thanks, Tom Sapp http://www.sappsworld.com -- modified at 23:52 Friday 28th October, 2005

    C / C++ / MFC c++ delphi css com help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups