|
look at this post
http://www.codeproject.com/script/comments/forums.asp?forumid=1647&mpp=50&select=939284#xx939284xx
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Hi,
While creating the ISO image for CD burning, I want to supply the data from memory. It means my application needs to accept the data from a file which do not exist physically. Can any one help me out in this. How to make the aplication read data from memory , to create the ISO image.
Pls help
Thanks..
Vini
|
|
|
|
|
Is the data opened in your application, or is it in another process? If the latter is the answer, then you might get a access denied error, since you are trying to access memory that doesn't belong to you.
Regards,
Michael
Michael Hendrickx
Security Engineer
Scanit FZ/LLC
http://www.scanit.net
|
|
|
|
|
Hi,
Thanks. To clear the scenario, its like an image editor which can modify an existing image file. The modified data need to be used for ISO image creation for CD burning. The original file remain intact.
Is there any control/component to open an image for editing ?
pls help
Thanks
Vini
|
|
|
|
|
I want to know some good book on the Visual C++ .Net 2003 IDE which explains all the changes and how to use the new features in the IDE.
Thanks
|
|
|
|
|
|
Hai frens,
I need to create a window in VC++ which should not allow user to move it.
Could any one guide me plz.
|
|
|
|
|
Override WM_MOVING (and/or WM_SIZING ) to prevent the user from moving/resizing the window.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
You could also remove caption of the window if possible ... if window has no caption then users do not have anything to move it.
|
|
|
|
|
false
the title bar can be empty, while been there anyway....
TOXCCT >>> GEII power
|
|
|
|
|
IIRC you can still use the keyboard to move such windows.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
|
I had used the OnCtlColor() but it didn't work. the code i used is as follows:
suppose the edit box id is IDC_LONG_EDIT; and default property i had set as ReadOnly. and is there any need to call this function or the application will take care of it
the i had used as a pDC->SetBkColor(RGB(0,0,0));
but it was no use
Neelesh Jain.
|
|
|
|
|
Did you bother to read the page I refered to? You can't use SetBkColor(). You need to return a predefined brush which is used to paint the background.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
Hi,
Hi,
On the header file add
CBrush m_brush;
On OnInitDialog add
m_brush.CreateSolidBrush(RGB(255,0,0));
On OnCTlColor Handler add
if (pWnd->GetDlgCtrlID() == IDC_EDIT1)
{
// Set the text color to red
pDC->SetTextColor(RGB(255, 255, 255));
// Set the background mode for text to transparent
// so background will show thru.
pDC->SetBkMode(TRANSPARENT);
// Return handle to our CBrush object
hbr = m_brush;
}
This will work
|
|
|
|
|
Hi,
Add the OnCtlColor(..) handles and change it. Have a look @ msdn
Sujan
|
|
|
|
|
|
Hi Everone,
I am trying to access my parallel port using the library winio.dll. I managed to do so using an administrative account but that wasn't possible using a non-administrative accuont. I have used this function to do so, but unfortunately I couldn't succeed:
InstallWinIoDriver("C:\MyApp\Debug\WinIo.sys",FALSE);
can anyone halp plz
thanx in advance
|
|
|
|
|
Quote from MSDN
if The driver package is not digitally signed
then
"Manual installation of a driver requires administrator permissions"
so , i think you have to be a administrator to install it
but you only need to install it the first time, so after installed you can use it without be an administrator
I think...
|
|
|
|
|
hi all,
Can any one tell me how to autohide the parent window ??I have an MDI application where when i move my mouse on the child window the parent window should hide....We can these effects in Windows Media player..Can any one tell me how to do it in a normal MFC application.....
thanx in advance
|
|
|
|
|
If you are talking about the parent of an MDI window then hiding it you will also hide the MDI window. You'll have to use your own windows, not MDi for this.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
hi,
I heard we can do that using regions and tried a sample in SDI...its coming but not exactly like media player...so i will let u know once its completly coming
|
|
|
|
|
Hi All,
I am working on a multi-threaded appln.In that I want to create an array of worker threads (like CWinThread *multthreads[maxsize]), which manipulates on some data until i ask them to stop(Using waitForSingle/MultipleObject) PEACEFULLY(not terminating). Say if i may want to stop the thread @ the 5th position.
I am awaiting for your comments
Thanx in advance
SUjan
|
|
|
|
|
|
Hi Franks,
Thanx 4 the link. I'll look into it.
|
|
|
|