Click here to Skip to main content
15,898,996 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListView - limited number of items Pin
David Crow23-Dec-04 3:29
David Crow23-Dec-04 3:29 
GeneralProblem with convertion unicode string to ansi string(CString) Pin
MaharajM23-Dec-04 2:11
MaharajM23-Dec-04 2:11 
GeneralRe: Problem with convertion unicode string to ansi string(CString) Pin
David Crow23-Dec-04 3:27
David Crow23-Dec-04 3:27 
GeneralRe: Problem with convertion unicode string to ansi string(CString) Pin
MaharajM27-Dec-04 1:09
MaharajM27-Dec-04 1:09 
GeneralRe: Problem with convertion unicode string to ansi string(CString) Pin
MaharajM27-Dec-04 1:09
MaharajM27-Dec-04 1:09 
GeneralSkin on slider control Pin
verma-rahul23-Dec-04 1:02
verma-rahul23-Dec-04 1:02 
QuestionHow to create a wrapper for CLucene in MFC Pin
just_starting23-Dec-04 0:59
just_starting23-Dec-04 0:59 
QuestionExtern Message on my dialog, what's the event? Pin
Lvca23-Dec-04 0:47
Lvca23-Dec-04 0:47 
Hi,
On my application ( eVc++ 4.0 - PocketPC2003 ) I use a Dialog that cuts the task bar and fits the screen the code to do that is:

void FitIt(HWND Form)
{
CWnd* TaskBarWnd = CWnd::FindWindow(_T("HHTaskBar"), _T(""));
if (TaskBarWnd) TaskBarWnd->ShowWindow(SW_HIDE);
SHFullScreen(Form, SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON );
#define MENU_HEIGHT 26
CRect rect;
GetWindowRect(Form,&rect);
rect.top -= MENU_HEIGHT;
MoveWindow(Form,rect.left, rect.top,rect.Width(), rect.Height(), TRUE);
}
(I call this function in the end of the OnInitDialog())

The problem is: when an extern Message appears(such as the one that advises me that I'm connecting or disconnecting to the pc) , when this Message disappears the Dialog is redrawn
"over" the other, but starting from the point under the first
taskbar, with the result that all the form seems to be moved down and I get double "mytaskbar".
I'm asking: what event exactly happens when an extern Message comes over my dialog? where can I write the code to build again my dialog when a Message appears?
Generalregarding MSVC debugger Pin
mukhopadhyay somenath23-Dec-04 0:07
professionalmukhopadhyay somenath23-Dec-04 0:07 
GeneralRe: regarding MSVC debugger Pin
mirex25-Dec-04 7:41
mirex25-Dec-04 7:41 
GeneralRe: regarding MSVC debugger Pin
DeelipMPatil1-Aug-05 4:17
sussDeelipMPatil1-Aug-05 4:17 
GeneralRe: regarding MSVC debugger Pin
DeelipMPatil11-Aug-05 4:18
sussDeelipMPatil11-Aug-05 4:18 
GeneralRe: regarding MSVC debugger Pin
Anonymous1-Aug-05 4:10
Anonymous1-Aug-05 4:10 
GeneralRe: regarding MSVC debugger Pin
mukhopadhyay somenath1-Aug-05 6:44
professionalmukhopadhyay somenath1-Aug-05 6:44 
GeneralRe: regarding MSVC debugger Pin
DeelipMPatil1-Aug-05 4:11
sussDeelipMPatil1-Aug-05 4:11 
Generalregarding MSVC debugger Pin
mukhopadhyay somenath22-Dec-04 23:56
professionalmukhopadhyay somenath22-Dec-04 23:56 
Generalabout mailslot.. Pin
bektek22-Dec-04 23:39
bektek22-Dec-04 23:39 
QuestionHHP - Debug: Looking for DLLs .. or what? Pin
Lvca22-Dec-04 22:55
Lvca22-Dec-04 22:55 
Generalconversion between dialog units and pixels Pin
Member 81356022-Dec-04 22:55
Member 81356022-Dec-04 22:55 
GeneralRe: conversion between dialog units and pixels Pin
David Crow23-Dec-04 3:26
David Crow23-Dec-04 3:26 
GeneralRe: conversion between dialog units and pixels Pin
Michael Dunn23-Dec-04 6:35
sitebuilderMichael Dunn23-Dec-04 6:35 
Generalabout mschart Pin
yingkou22-Dec-04 20:52
yingkou22-Dec-04 20:52 
GeneralRe: about mschart Pin
naren-vc23-Dec-04 0:32
naren-vc23-Dec-04 0:32 
GeneralRe: about mschart Pin
yingkou23-Dec-04 12:20
yingkou23-Dec-04 12:20 
GeneralOrder Your FREE AlachiSoft TierDeveloper DVD Pin
Iqbal M Khan22-Dec-04 20:13
Iqbal M Khan22-Dec-04 20:13 

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.