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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem with windows 98 and MFC

Problem with windows 98 and MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arrun
    wrote on last edited by
    #1

    I did a project in VC++ 6.0 in windows XP but when I run the same exe in windows 98, the default font type and size of the modal dialog box changes. (The font in the caption bar of the main frame and child frame is the default) Wut is the problem? Should i give default font type and size in DoModal() function?

    S T 2 Replies Last reply
    0
    • A Arrun

      I did a project in VC++ 6.0 in windows XP but when I run the same exe in windows 98, the default font type and size of the modal dialog box changes. (The font in the caption bar of the main frame and child frame is the default) Wut is the problem? Should i give default font type and size in DoModal() function?

      S Offline
      S Offline
      sunit5
      wrote on last edited by
      #2

      In Window XP if a Window function has a string argument,it manipulates or handles the string as Unicode (even if the code is not compiled as unicode).This is not in Window 98

      T 1 Reply Last reply
      0
      • S sunit5

        In Window XP if a Window function has a string argument,it manipulates or handles the string as Unicode (even if the code is not compiled as unicode).This is not in Window 98

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        sunit5 wrote:

        In Window XP if a Window function has a string argument,it manipulates or handles the string as Unicode (even if the code is not compiled as unicode).This is not in Window 98

        You are right in windows XP, the string args are treated as unicode wheather it unicode or not (internally). But little correction you Sir!.. users problem is not related with UNICODE.

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        1 Reply Last reply
        0
        • A Arrun

          I did a project in VC++ 6.0 in windows XP but when I run the same exe in windows 98, the default font type and size of the modal dialog box changes. (The font in the caption bar of the main frame and child frame is the default) Wut is the problem? Should i give default font type and size in DoModal() function?

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          Arrun wrote:

          Wut is the problem? Should i give default font type and size in DoModal() function?

          That’s the common Problem.. As Font Setting is different for different computer /OS + User can easily change it (By applying new theme, changing display setting etc) .. It is always good to set your own default font when designing software...

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

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