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

C / C++ / MFC

 
Generaldisable Help button on the "Customize Toolbar" Pin
12-Nov-01 21:16
suss12-Nov-01 21:16 
GeneralDriver installation Pin
Gennady Oster12-Nov-01 20:20
Gennady Oster12-Nov-01 20:20 
GeneralRe: Driver installation Pin
Michael P Butler12-Nov-01 21:31
Michael P Butler12-Nov-01 21:31 
GeneralRe: Driver installation Pin
Gennady Oster12-Nov-01 22:20
Gennady Oster12-Nov-01 22:20 
GeneralKeyboard Message Pin
Maer72712-Nov-01 19:50
Maer72712-Nov-01 19:50 
GeneralRe: Keyboard Message Pin
Michael P Butler12-Nov-01 21:37
Michael P Butler12-Nov-01 21:37 
QuestionHow can I add avi to thó resource Pin
Eugene Pustovoyt12-Nov-01 19:23
Eugene Pustovoyt12-Nov-01 19:23 
AnswerRe: How can I add avi to thó resource Pin
Derek Waters13-Nov-01 12:33
Derek Waters13-Nov-01 12:33 
Yep,

Just select Insert->Resource (or Ctrl-R), press the Import... button, change the "Files of type" field on the file dialog to All Files, and select your .avi file. When it gets imported, you need to give it a custom resource type, which will just be a string (for example, "AVI"). Then, when you want to load the resource in your program, you need to use this string as a parameter to the FindResource function:

HRSRC vhMyAvi = FindResource(vhMyModuleHandle, MAKEINTRESOURCE(IDR_MY_AVI_RESOURCE), _T("AVI"));


Hope this helps.


------------------------
Derek Waters
derek@lj-oz.com
GeneralSyntax Color Problem. Pin
| mProject |12-Nov-01 17:16
| mProject |12-Nov-01 17:16 
Generaldata checking Pin
12-Nov-01 16:05
suss12-Nov-01 16:05 
GeneralRe: data checking Pin
Christian Graus12-Nov-01 16:14
protectorChristian Graus12-Nov-01 16:14 
GeneralRe: data checking Pin
Rassman13-Nov-01 0:53
Rassman13-Nov-01 0:53 
Generaldate conversion Pin
12-Nov-01 16:01
suss12-Nov-01 16:01 
GeneralRe: date conversion Pin
Christian Graus12-Nov-01 16:19
protectorChristian Graus12-Nov-01 16:19 
GeneralRe: date conversion Pin
Nish Nishant12-Nov-01 23:36
sitebuilderNish Nishant12-Nov-01 23:36 
GeneralRe: date conversion Pin
Christian Graus12-Nov-01 23:49
protectorChristian Graus12-Nov-01 23:49 
GeneralRe: date conversion Pin
markkuk12-Nov-01 20:10
markkuk12-Nov-01 20:10 
GeneralCBrush question Pin
RobJones12-Nov-01 12:18
RobJones12-Nov-01 12:18 
GeneralRe: CBrush question Pin
Christian Graus12-Nov-01 15:44
protectorChristian Graus12-Nov-01 15:44 
GeneralDeleteFile() function Pin
pjc12-Nov-01 10:17
pjc12-Nov-01 10:17 
GeneralRe: DeleteFile() function Pin
Tomasz Sowinski12-Nov-01 11:44
Tomasz Sowinski12-Nov-01 11:44 
Generalsubclassing and storage in a CList Pin
squizz12-Nov-01 10:14
squizz12-Nov-01 10:14 
GeneralRe: subclassing and storage in a CList Pin
Andrew Peace12-Nov-01 11:06
Andrew Peace12-Nov-01 11:06 
GeneralDownloading form results Pin
José Luis Sogorb12-Nov-01 6:44
José Luis Sogorb12-Nov-01 6:44 
GeneralRe: Downloading form results Pin
Carlos Antollini12-Nov-01 6:54
Carlos Antollini12-Nov-01 6:54 

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.