Click here to Skip to main content
15,920,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Anonymous29-Oct-02 0:52
Anonymous29-Oct-02 0:52 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Anonymous29-Oct-02 18:36
Anonymous29-Oct-02 18:36 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Rickard Andersson2029-Oct-02 2:16
Rickard Andersson2029-Oct-02 2:16 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Anonymous29-Oct-02 18:46
Anonymous29-Oct-02 18:46 
Generalcant find WM_SETFOCUS for .... Pin
devvvy28-Oct-02 17:30
devvvy28-Oct-02 17:30 
GeneralRe: cant find WM_SETFOCUS for .... Pin
Shog928-Oct-02 18:29
sitebuilderShog928-Oct-02 18:29 
GeneralThanks, but... Pin
devvvy28-Oct-02 19:18
devvvy28-Oct-02 19:18 
GeneralRe: Thanks, but... Pin
Shog928-Oct-02 19:21
sitebuilderShog928-Oct-02 19:21 
GeneralRe: Thanks, but... Pin
devvvy28-Oct-02 19:24
devvvy28-Oct-02 19:24 
GeneralRe: Thanks, but... Pin
Shog928-Oct-02 19:29
sitebuilderShog928-Oct-02 19:29 
Generalyes, i've got it! Pin
devvvy28-Oct-02 19:31
devvvy28-Oct-02 19:31 
GeneralRe: Thanks, but... Pin
Maximilien29-Oct-02 2:22
Maximilien29-Oct-02 2:22 
Generaltaskbar Pin
devvvy28-Oct-02 17:13
devvvy28-Oct-02 17:13 
GeneralRe: taskbar Pin
Shog928-Oct-02 19:37
sitebuilderShog928-Oct-02 19:37 
Generaldraw on a button... Pin
devvvy28-Oct-02 15:34
devvvy28-Oct-02 15:34 
Generalpaint a bitmap on button... Pin
devvvy28-Oct-02 15:55
devvvy28-Oct-02 15:55 
GeneralRe: draw on a button... Pin
ian mariano29-Oct-02 1:43
ian mariano29-Oct-02 1:43 
Questionhow do u import a library? Pin
devvvy28-Oct-02 14:58
devvvy28-Oct-02 14:58 
AnswerRe: how do u import a library? Pin
Christian Graus28-Oct-02 15:16
protectorChristian Graus28-Oct-02 15:16 
GeneralRe: how do u import a library? Pin
devvvy28-Oct-02 15:24
devvvy28-Oct-02 15:24 
GeneralRe: how do u import a library? Pin
Christian Graus28-Oct-02 16:50
protectorChristian Graus28-Oct-02 16:50 
AnswerRe: how do u import a library? Pin
Paul M Watt28-Oct-02 16:15
mentorPaul M Watt28-Oct-02 16:15 
SetLayeredWindowAttributes is only supported on Windows 2000 or greater therefore you will not see it on an older operating system. If you are building for windows 2000 or greater, you will need to define _WIN32_WINNT = 0x0500, otherwise the preproocessor will remove all of the API definitions that are only available on Windows 2000 and above. Coincidentally this will cause runtime error if you run one of these programs on a system that has an older DLL version.

As far as linking a library to your project, you can do it the way that you specified, or you can go to the linker tab of your projects settings, and add the name of the lib to your project. However most likely you are already linking user32.lib into your program if your program already has a user interface.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: how do u import a library? Pin
devvvy28-Oct-02 16:27
devvvy28-Oct-02 16:27 
GeneralRe: how do u import a library? Pin
devvvy28-Oct-02 16:53
devvvy28-Oct-02 16:53 
GeneralAuto Resized Objects in CFormView :: MFC Pin
valikac28-Oct-02 14:56
valikac28-Oct-02 14:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.