Hello all!
Situation: I have SUSE 11.1 newly installed. As always am using virtual desktops.
Problem:
Before 11.1 I could get the title bar to show ONLY those windows which are on the currently chosen virtual desktop.
Now it (title bar) shows ALL the windows on all the virtual desktops and I...
Hello, all!
Situation:
Win XP having VMWare Player running Ubuntu (Browser Appliance downloaded from vmware.org)
Virtual machine can surf in internet only if the host system is connected.
I mean: virtual computer itself doesn't connect to the internet. It only uses the established connection...
Hello, all!
I have 2 directories: Temp1 and Temp2.
In each of them there are files. Many files.
I need to compare each file of directory Temp1 with the file having the same name in the directory Temp2. For that perpose I downloaded diff for windows. Works fine.
So I wanted to automize the...
Hi, guys!
I have 2 textboxes. One of them has some text in it. I want to copy that text from one textbox into another using Drag&Drop.
How can I get that half-transparent image(icon) of the text with "+" in a square when using Drag & Drop function?
I had such a case in another grid and I solved so:
BOOL CMyClass::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
if (wParam == IDC_MTMB_GRID && ((NM_GRIDVIEW*)lParam)->hdr.code == NM_RCLICK) {
if (((NM_GRIDVIEW*)lParam)->iColumn == 7) {
//here do something
......
}
}
Here...
Hello, all!
I've such a problem:
I have a list of projects (VC++ 6.0) that have to be compiled at once - one after another.
For that I've made a dialog that reads the list of projects and starts compilation:
e.g.
char* params = "msdev C:\\MyProjects\\Project1\\build\\win32\\MEASURE_XXX.dsw...
Hello, all!
I need a menu with pictures (bitmaps) instead of usual text in menu's items.
I did it this way:
CBitmap b1, b2;
b1.LoadBitmap(IDB_BITMAP1);
b2.LoadBitmap(IDB_BITMAP3);
CMenu menu;
menu.LoadMenu(IDR_STMENU);
menu.SetMenuItemBitmaps(IDC_BEZ1, MF_BYCOMMAND, &b1, &b1)...
I've thoght about opening all the files and hold them for the whole time of my prog working. But it isn't so comfortable. I don't know how many of those files I'll find.
And the second: I've tried the following:
I've opened a file with the windows editor and then started this code...
Hello, all!
The problem is in the subj:
I have a folder with some subfolders and many files.
I need to block this folder from reading/writing of any files by all other apps.
And at the start of my prog I need to know if any of the files is already opened by another app.
sorry hWnd will remain = NULL
But nevertheless: even if I had a pointer to MyClass1 in an instance of MyClass2 I couldn't use it - MyClass2 needs the header of MyClass1 for that. And it would cause a circle including
Look, if I have a doalog class with a constructor as follows:
MyClass2::MyClass2(CWnd* pParent /*=NULL*/)
: CDialog(MyClass2::IDD, pParent)
{
//{{AFX_DATA_INIT(MyClass2)
//}}AFX_DATA_INIT
}
and call it -
MyClass2 dlg;
MyClass2 will be instantiated, but as long as I don't call e.g...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.