Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question#define not const? Pin
Waldermort19-Oct-11 3:58
Waldermort19-Oct-11 3:58 
AnswerRe: #define not const? Pin
TheGreatAndPowerfulOz19-Oct-11 5:14
TheGreatAndPowerfulOz19-Oct-11 5:14 
GeneralRe: #define not const? Pin
Waldermort19-Oct-11 5:48
Waldermort19-Oct-11 5:48 
AnswerRe: #define not const? Pin
«_Superman_»19-Oct-11 16:39
professional«_Superman_»19-Oct-11 16:39 
GeneralRe: #define not const? Pin
Waldermort20-Oct-11 1:42
Waldermort20-Oct-11 1:42 
GeneralRe: #define not const? Pin
«_Superman_»20-Oct-11 2:19
professional«_Superman_»20-Oct-11 2:19 
AnswerRe: #define not const? Pin
Stefan_Lang21-Oct-11 2:55
Stefan_Lang21-Oct-11 2:55 
QuestionPlaying video in particular dimensions Pin
VCProgrammer19-Oct-11 1:55
VCProgrammer19-Oct-11 1:55 
Hi all,

I am trying to play video files in my application. i have used MCIWndCreate function but i am having a problem.

I want to display video on my screen of a particular size, for aciheving this i have created a static control and passed its handle to MCIWndCreate. Video is displayed of its size only but it is cuting from sides i.e its not showing full video.

i have written this line of code

HWND h = m_static1.GetSafeHwnd();

m_Player = MCIWndCreate(h,AfxGetInstanceHandle(),
    WS_CHILD | WS_VISIBLE|MCIWNDF_NOPLAYBAR, _T("D:\\2.mpeg"));


How can i do this??

Thanks in advance
AnswerRe: Playing video in particular dimensions Pin
enhzflep19-Oct-11 2:35
enhzflep19-Oct-11 2:35 
QuestionCHtmlView and Windows 7 Pin
Member 810956018-Oct-11 22:57
Member 810956018-Oct-11 22:57 
QuestionTCP Communication Pin
john563218-Oct-11 19:15
john563218-Oct-11 19:15 
AnswerRe: TCP Communication Pin
Goto_Label_18-Oct-11 22:29
Goto_Label_18-Oct-11 22:29 
AnswerRe: TCP Communication Pin
Software_Developer18-Oct-11 22:56
Software_Developer18-Oct-11 22:56 
GeneralRe: TCP Communication Pin
john563218-Oct-11 23:45
john563218-Oct-11 23:45 
AnswerRe: TCP Communication Pin
App_18-Oct-11 23:07
App_18-Oct-11 23:07 
AnswerRe: TCP Communication Pin
jschell19-Oct-11 8:55
jschell19-Oct-11 8:55 
QuestionBeginPaint issues Pin
Waldermort18-Oct-11 9:08
Waldermort18-Oct-11 9:08 
AnswerRe: BeginPaint issues Pin
TheGreatAndPowerfulOz18-Oct-11 12:22
TheGreatAndPowerfulOz18-Oct-11 12:22 
GeneralRe: BeginPaint issues Pin
Waldermort18-Oct-11 21:00
Waldermort18-Oct-11 21:00 
GeneralRe: BeginPaint issues Pin
TheGreatAndPowerfulOz19-Oct-11 5:01
TheGreatAndPowerfulOz19-Oct-11 5:01 
AnswerRe: BeginPaint issues Pin
Chuck O'Toole18-Oct-11 12:52
Chuck O'Toole18-Oct-11 12:52 
GeneralRe: BeginPaint issues Pin
Waldermort18-Oct-11 21:03
Waldermort18-Oct-11 21:03 
GeneralRe: BeginPaint issues Pin
Chuck O'Toole18-Oct-11 23:04
Chuck O'Toole18-Oct-11 23:04 
GeneralRe: BeginPaint issues Pin
Waldermort19-Oct-11 3:46
Waldermort19-Oct-11 3:46 
GeneralRe: BeginPaint issues Pin
Chuck O'Toole19-Oct-11 5:02
Chuck O'Toole19-Oct-11 5:02 

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.