Click here to Skip to main content
15,905,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a maximixed dialog Pin
monrobot1325-Oct-02 12:52
monrobot1325-Oct-02 12:52 
GeneralRe: Creating a maximixed dialog Pin
includeh1025-Oct-02 21:47
includeh1025-Oct-02 21:47 
GeneralRe: Creating a maximixed dialog Pin
Didaa25-Oct-02 21:32
Didaa25-Oct-02 21:32 
GeneralRe: Creating a maximixed dialog Pin
Gary R. Wheeler26-Oct-02 3:34
Gary R. Wheeler26-Oct-02 3:34 
GeneralResize Dialog Box via Code :: MFC Pin
valikac25-Oct-02 9:21
valikac25-Oct-02 9:21 
GeneralRe: Resize Dialog Box via Code :: MFC Pin
monrobot1325-Oct-02 9:29
monrobot1325-Oct-02 9:29 
GeneralRe: Resize Dialog Box via Code :: MFC Pin
valikac25-Oct-02 9:32
valikac25-Oct-02 9:32 
Generalspeed: loading bitmap Pin
Anonymous25-Oct-02 8:21
Anonymous25-Oct-02 8:21 
I've tried to load a bitmap sequence using VB.NET and .NET framework. Here's the spec:

(a) class Bitmap("filepath")
(b) 7kB per bitmap (or frame)
(c) 588 bitmaps in sequence - Therefore, preloading the entire sequence is impossible (will consume over 250MB RAM!!)
(d) 15 frames per second

The basic process is as follows:
(a) preload a certain number of bitmap
(b1) start a thread to start rendering pre-loaded bitmap to screen
(b2) at the same time, start another thread to continue loading the rest of the sequence into memory (bitmaps)

However, even at a low 15 frames per second, the buffer is emptied too fast and frames loading (b2) is not able to keep in pace with frames rendering (b1)... But on the other hand, pre-load the entire sequence is just impossible!!? I wonder how they do this in Windows Media Player or Adobe Premier. Premier was able to render my bitmap sequence without any jitter on the same machine!? So, can I conclude that "class Bitmap" constructor from .NET framework is not very efficient in loading bitmap? Should I try CBitmap and build a MFC app to test it out? Or should I build a DirectDraw SDI...?

What can I do? I was considering using Quicktime player (downloaded Quicktime SDK and got the sample working). But this option requires that we go thru the proper licencing process... so screw that...

Thanx!
GeneralRe: speed: loading bitmap Pin
devvvy25-Oct-02 8:23
devvvy25-Oct-02 8:23 
GeneralRe: speed: loading bitmap Pin
Paul M Watt25-Oct-02 8:44
mentorPaul M Watt25-Oct-02 8:44 
GeneralRe: speed: loading bitmap Pin
Anonymous25-Oct-02 12:55
Anonymous25-Oct-02 12:55 
GeneralRe: speed: loading bitmap Pin
Paul M Watt25-Oct-02 21:19
mentorPaul M Watt25-Oct-02 21:19 
GeneralTemplate confusion Pin
Todd Smith25-Oct-02 8:09
Todd Smith25-Oct-02 8:09 
GeneralRe: Template confusion Pin
Navin25-Oct-02 10:30
Navin25-Oct-02 10:30 
Generalmapping and unmapping a resource Pin
Tom Wright25-Oct-02 7:36
Tom Wright25-Oct-02 7:36 
Generalflexgrid Pin
Anthony988725-Oct-02 7:05
Anthony988725-Oct-02 7:05 
QuestionDon't show all resource icons in explorer? Pin
Anonymous25-Oct-02 6:00
Anonymous25-Oct-02 6:00 
AnswerRe: Don't show all resource icons in explorer? Pin
Anonymous25-Oct-02 22:08
Anonymous25-Oct-02 22:08 
Generalhtmlhelp question Pin
ns25-Oct-02 5:59
ns25-Oct-02 5:59 
GeneralRe: htmlhelp question Pin
Ravi Bhavnani25-Oct-02 7:02
professionalRavi Bhavnani25-Oct-02 7:02 
GeneralRe: htmlhelp question Pin
Atlantys25-Oct-02 7:06
Atlantys25-Oct-02 7:06 
GeneralRe: htmlhelp question Pin
Ravi Bhavnani25-Oct-02 7:13
professionalRavi Bhavnani25-Oct-02 7:13 
GeneralRe: htmlhelp question Pin
Atlantys25-Oct-02 8:20
Atlantys25-Oct-02 8:20 
GeneralRe: htmlhelp question Pin
Ravi Bhavnani25-Oct-02 9:32
professionalRavi Bhavnani25-Oct-02 9:32 
GeneralBad topic id? Pin
Ravi Bhavnani25-Oct-02 7:05
professionalRavi Bhavnani25-Oct-02 7:05 

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.