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. basic MFC app

basic MFC app

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++learning
21 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.
  • C Calin Negru

    I don`t see the resource. I probably just need a mere WinMain.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #8

    fearless_ wrote:

    I don`t see the resource.

    I already told you where to find it, or you can just use the View menu item to open the Resource View.

    C 1 Reply Last reply
    0
    • L Lost User

      fearless_ wrote:

      I don`t see the resource.

      I already told you where to find it, or you can just use the View menu item to open the Resource View.

      C Offline
      C Offline
      Calin Negru
      wrote on last edited by
      #9

      Sorry my wording is wrong, I can`t see the designer.

      L 1 Reply Last reply
      0
      • C Calin Negru

        Sorry my wording is wrong, I can`t see the designer.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #10

        What designer are you referring to?

        C 1 Reply Last reply
        0
        • L Lost User

          What designer are you referring to?

          C Offline
          C Offline
          Calin Negru
          wrote on last edited by
          #11

          the screen area where the dialogs are assembled.

          L 1 Reply Last reply
          0
          • C Calin Negru

            the screen area where the dialogs are assembled.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #12

            In have explained twice already, open the resource view, either from the View menu, or use Ctrl+Shift+E.

            C 1 Reply Last reply
            0
            • L Lost User

              In have explained twice already, open the resource view, either from the View menu, or use Ctrl+Shift+E.

              C Offline
              C Offline
              Calin Negru
              wrote on last edited by
              #13

              I got it, but only after you closing and opening the project again. Sorry for making ripples over nothing.

              1 Reply Last reply
              0
              • C Calin Negru

                I`m trying to build a barebones MFC app. I`m used to C# Forms, but I`m having a tough time in MFC though. I`m creating a new MFC app in the New Project dialog and in the Wizard I pick Dialog based app as app type. However after creation I can`t open the resource (in the resource view) to fill it with controls.

                C Offline
                C Offline
                Calin Negru
                wrote on last edited by
                #14

                I need help in dealing with a picture control. How do you access/change the picture control data (within a click button event) ?

                V 1 Reply Last reply
                0
                • C Calin Negru

                  I need help in dealing with a picture control. How do you access/change the picture control data (within a click button event) ?

                  V Offline
                  V Offline
                  Victor Nijegorodov
                  wrote on last edited by
                  #15

                  The recommended MFC way is to create a control member variable (of the type CStatic or any derived from CStatic class) for this picture control. Then you will be able use all the methods of this class.

                  C 1 Reply Last reply
                  0
                  • V Victor Nijegorodov

                    The recommended MFC way is to create a control member variable (of the type CStatic or any derived from CStatic class) for this picture control. Then you will be able use all the methods of this class.

                    C Offline
                    C Offline
                    Calin Negru
                    wrote on last edited by
                    #16

                    I want to use a plain (basic) Win32 approach with an exposed WinMain. It`s not a rich Win App, I only need a button or two, a textbox and a listbox (besides the picture box)

                    V 3 Replies Last reply
                    0
                    • C Calin Negru

                      I want to use a plain (basic) Win32 approach with an exposed WinMain. It`s not a rich Win App, I only need a button or two, a textbox and a listbox (besides the picture box)

                      V Offline
                      V Offline
                      Victor Nijegorodov
                      wrote on last edited by
                      #17

                      fearless_ wrote:

                      I want to use a plain Win32 approach with an exposed WinMain. It`s not a rich Win App, ...

                      Then why is your subject "basic MFC app"?

                      1 Reply Last reply
                      0
                      • C Calin Negru

                        I want to use a plain (basic) Win32 approach with an exposed WinMain. It`s not a rich Win App, I only need a button or two, a textbox and a listbox (besides the picture box)

                        V Offline
                        V Offline
                        Victor Nijegorodov
                        wrote on last edited by
                        #18

                        fearless_ wrote:

                        I want to use a plain Win32 approach with an exposed WinMain. It`s not a rich Win App, ...

                        Then why is your subject "basic MFC app"?

                        C 1 Reply Last reply
                        0
                        • V Victor Nijegorodov

                          fearless_ wrote:

                          I want to use a plain Win32 approach with an exposed WinMain. It`s not a rich Win App, ...

                          Then why is your subject "basic MFC app"?

                          C Offline
                          C Offline
                          Calin Negru
                          wrote on last edited by
                          #19

                          I made my mind. MFC is too much of a hassle. It crossed my mind to make a new thread, but I thought it would be better to keep rolling with this one.

                          1 Reply Last reply
                          0
                          • C Calin Negru

                            I want to use a plain (basic) Win32 approach with an exposed WinMain. It`s not a rich Win App, I only need a button or two, a textbox and a listbox (besides the picture box)

                            V Offline
                            V Offline
                            Victor Nijegorodov
                            wrote on last edited by
                            #20

                            [Static Control - Win32 apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/controls/static-controls) [Using Static Controls - Win32 apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/controls/using-static-controls)

                            C 1 Reply Last reply
                            0
                            • V Victor Nijegorodov

                              [Static Control - Win32 apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/controls/static-controls) [Using Static Controls - Win32 apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/controls/using-static-controls)

                              C Offline
                              C Offline
                              Calin Negru
                              wrote on last edited by
                              #21

                              Thanks Victor

                              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