Click here to Skip to main content
15,914,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDirectX - Generall Question Pin
GermanGeorge9-Oct-07 2:05
GermanGeorge9-Oct-07 2:05 
AnswerRe: DirectX - Generall Question Pin
El Corazon9-Oct-07 15:17
El Corazon9-Oct-07 15:17 
GeneralRe: DirectX - Generall Question Pin
GermanGeorge9-Oct-07 20:37
GermanGeorge9-Oct-07 20:37 
GeneralRe: DirectX - Generall Question Pin
El Corazon10-Oct-07 4:04
El Corazon10-Oct-07 4:04 
GeneralRe: DirectX - Generall Question Pin
GermanGeorge10-Oct-07 22:11
GermanGeorge10-Oct-07 22:11 
QuestionNot Getting picture in Picture in Picture Control Pin
GauranG Shah9-Oct-07 1:45
GauranG Shah9-Oct-07 1:45 
AnswerRe: Not Getting picture in Picture in Picture Control Pin
chandu0049-Oct-07 3:33
chandu0049-Oct-07 3:33 
AnswerRe: Not Getting picture in Picture in Picture Control Pin
Roger Broomfield9-Oct-07 6:03
Roger Broomfield9-Oct-07 6:03 
This line is totally wrong
SetWindowLong(hWndStatic,GWL_STYLE,GetWindowLong(hWndStatic,GWL_STYLE) | SS_BITMAP | SS_ICON);
refer the definitions of the Static Control Constants in WinUser.h
#define SS_BITMAP      0x0000000E
#define SS_ICON        0x00000003
#define SS_ENHMETAFILE 0x0000000F
#define SS_TYPEMASK    0x0000001F

so by using (GetWindowLong(hWndStatic,GWL_STYLE) | SS_BITMAP | SS_ICON) you are actually setting the style to SS_ENHMETAFILE. use ((GetWindowLong(hWndStatic,GWL_STYLE) & ~SS_TYPEMASK) | SS_BITMAP) instead.

also shouldnt it be MAKEINTRESOURCE(IDB_BITMAP1) and not (LPCWSTR)IDB_BITMAP1 ?
QuestionStop USB Devices Pin
VC_RYK9-Oct-07 1:39
VC_RYK9-Oct-07 1:39 
QuestionRe: Stop USB Devices Pin
David Crow9-Oct-07 2:52
David Crow9-Oct-07 2:52 
AnswerRe: Stop USB Devices Pin
VC_RYK9-Oct-07 18:56
VC_RYK9-Oct-07 18:56 
GeneralRe: Stop USB Devices Pin
aks.9-Oct-07 19:33
aks.9-Oct-07 19:33 
AnswerRe: Stop USB Devices Pin
ram.Jaddu9-Oct-07 23:11
ram.Jaddu9-Oct-07 23:11 
Questionmsdn files are affected Pin
prithaa9-Oct-07 1:22
prithaa9-Oct-07 1:22 
AnswerRe: msdn files are affected Pin
chandu0049-Oct-07 3:18
chandu0049-Oct-07 3:18 
QuestionHow to identify click event on Tabcontrol? Pin
Atul239-Oct-07 0:50
Atul239-Oct-07 0:50 
AnswerRe: How to identify click event on Tabcontrol? Pin
Waldermort9-Oct-07 0:57
Waldermort9-Oct-07 0:57 
Questiondisplaying GIFF in view Pin
Anu_Bala9-Oct-07 0:48
Anu_Bala9-Oct-07 0:48 
AnswerRe: displaying GIFF in view Pin
Waldermort9-Oct-07 0:55
Waldermort9-Oct-07 0:55 
QuestionRe: displaying GIFF in view Pin
chandu0049-Oct-07 3:37
chandu0049-Oct-07 3:37 
AnswerRe: displaying GIFF in view Pin
Hamid_RT9-Oct-07 9:51
Hamid_RT9-Oct-07 9:51 
GeneralRe: displaying GIFF in view Pin
chandu0049-Oct-07 18:20
chandu0049-Oct-07 18:20 
GeneralRe: displaying GIFF in view Pin
Hamid_RT9-Oct-07 19:24
Hamid_RT9-Oct-07 19:24 
AnswerRe: displaying GIFF in view Pin
Hamid_RT9-Oct-07 9:51
Hamid_RT9-Oct-07 9:51 
QuestionAccess Violation Problem Pin
ashishbhatt9-Oct-07 0:42
ashishbhatt9-Oct-07 0:42 

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.