I don't remember, try MCIWNDF_NOAUTOSIZEWINDOW in MCIWndCreate if not working, i think you need to move the parent window (that is specify a movable child window as parent window of MCI window)
When you typically open Word, the cursor is selected to allow for immediate typing on the keyboard. With a tablet PC, there is also a pen selection to where the user can "draw" on the screen with the stylus, instead of the normal cursor. I am looking for a way to open Word with this pen selected as the default rather than the cursor.
All the objects you are creating should be closed. if you are missing any single reference to close then this code will not work. Second thing go to Articles in Code Project and search For Word you will found many solutions -- modified at 3:58 Tuesday 25th July, 2006
I am not trying to draw a button, I am simply trying to load a bitmap on a screen to show them things. Instead of having 20 variables each with only 1 BMP that it shows, I want to be able to have 3 or 4 and have them be able to switch to different BMPs to load up. However, when I do that and call the ShowWindow(1) function, nothing happens.
goodoljosh1980 wrote:
m_DateTime.GetTime(time);
Is 'time' a CTime object? If it is, it's limited to January 1st, 1970 to January 18th, 2038. Try a COleDateTime object instead, it has a range of January 1st, 100 to December 31st, 9999.
- Dy