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
U

User 749

@User 749
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Many grate free tutorials on line
    U User 749

    I'm apologize for being a stupid American, but I don't understand Hebrew... Thanks for the recommendation though! Yours, Brian

    Article Writing dotnet

  • Maximizing app at startup - how?
    U User 749

    You don't want to pass WS_MAXIMIZE, a style code, to ShowWindow. You're supposed to do as Mr. Warg pointed out: Change pMainFrame->ShowWindow(m_nCmdShow); pMainFrame->UpdateWindow(); to pMainFrame->ShowWindow(SW_SHOWMAXIMIZED); pMainFrame->UpdateWindow(); Note the WS_* in front means a *W*indow *S*tyle code, whereas the SW_* in front means a *S*how*W*indow code. AppWizard supplies the pMainFrame->ShowWindow(m_nCmdShow); pMainFrame->UpdateWindow(); code for you; all you have to do is to replace the m_nCmdShow with SW_SHOWMAXIMIZED, and you're in business!! Brian Hart

    C / C++ / MFC tutorial csharp visual-studio question

  • Encrypt/Decrypting Files (CR & LF chars not correct in .exes)
    U User 749

    Hey Dan, Not to burst your bubble or anything, but posting an encryption hash algorithm with full commenting to the Web is not going to make your program very secure. (Or I suppose you trust us fellow programmers!) Anyway, I suppose it won't hurt, since this cryptography scheme is already published in "Applied Cryptography." Brian Hart

    C / C++ / MFC help question

  • How To : center a CFormView in a SDI app ???
    U User 749

    >In OnInitialUpdate just call CenterWindow(); That might just work... for an MDI child window, not a SDI view!! Yours, Brian Hart

    C / C++ / MFC question tutorial

  • c++
    U User 749

    "Programming Windows 95 with MFC" by Jeff Prosise is recommended highly among programming circles these days. It's published by Microsoft Press, and you can find it at http://www.bn.com/, http://www.amazon.com/, http://www.fatbrain.com/, or in the computer programming section of your favorite bookstore. Cheers, Brian

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

  • Site Has Been Reviewed
    U User 749

    Hello Mr. Maunder, I am a frequent freelance article contributor to "Visual C++ Developer," a magazine published by Pinnacle Publishing. Their URL is: http://www.pinpub.com/vcd/, and the editor is Kate Gregory (kateg@pinpub.com). I want to let you know that I drew attention to your site, The Code Project, in my article that has just come out for June, so expect a little jump in the traffic that has been by your site. Thank you, Brian Hart

    Site Bugs / Suggestions c++ com career

  • GUI design question
    U User 749

    Dear eng, I agree; a read-only edit box is the way to go. Also, you can turn on its "Word-Wrap" style simply by turning of the Auto HScroll and Horizontal Scroll styles. Then make it so that it looks like a listbox (as in area), so that the filename will wrap and add a Vertical Scroll bar (but turn off Auto VScroll) so theu user can scroll the text. They also get a context menu that they can use to copy text to the cliboard with! Yours, Brian Hart

    C / C++ / MFC help question design

  • Default Browser Settings
    U User 749

    I would suggest simply letting the user type the URL of the site they want to go to in your program, and then call the function ::WinExec(theDialog.m_strURL, SW_SHOW);, where theDialog.m_strURL is a data member for the URL edit box you provide. This function will simply feed the URL passed to it to whatever Web browser is registered on the user's machine as the default. Also, the default browser on a user's machine simply refers to whichever browser is associated with the ".html" file extension. This is just like a situation where say you made a BMP editor, and somebody else made a better BMP (bitmap) editor, and you both used MFC. Since MFC has InitInstance() fill out Registry entries on startup to make your program get launched when a BMP file is double-clicked, your app is the "default browser" for BMP files. Say then the user starts the other BMP editor, closes it, and then double-clicks the BMP file. Since MFC does the same work in that other app's InitInstance(), the other app opens, and is now the "default browser" for BMP files. When you check the 'Check to see if is the default browser' in your Preferences or Options or Properties window, what you're doing is telling MFC whether or not to do the above with the files the browsers can show you -- both IE and Netscape are made using Visual C++!! Sincerely Yours, Brian Hart

    IT & Infrastructure windows-admin help question

  • Please provide COM wrappers!
    U User 749

    That would be an interesting idea, to start a conversion project -- I'm sure it would be pretty large-scale though. Thank you, Brian Hart

    IT & Infrastructure c++ com
  • Login

  • Don't have an account? Register

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