mark as spam !
erajsri
Posts
-
problem -
How to create a window that looks like MSN Live Messenger ?Hi, Could u give some pointers on how to create a window that would look like MSN live messenger ? I am referring to those funky adornments and decorations that are found on MSN Live Messenger ? Things like gradients, tiny bitmap buttons, flyout controls - its like they have used HTML rendering for this. Your help is highly appreciated as I am suppose to give my thoughts on how to create a similar gui for an application. Eraj
-
Monitor open files on a sharethanx mate, Im looking for the same kinda functionality too. Want to make an app similar to yours to manage my network shares.
-
How to find out users logged in from Network ?That is Ok, but what about any events that would fire when a user establishes a connection to a shared resource ( like a shared file or folder ), or is that unsupported ? Where could I get more infor on how file sharing is done on Windows and developing applications for that ?
-
How to find out users logged in from Network ?Hi, Im hoping to build an application that would monitor activity on a PC caused by other users logged in over a network or a Microsoft Domain (wateva u mite call it in network jargon ). Would this be possible ? Would i be able to get a handle to the event when a user logs into any of my shared folders, by accessing my PC ? Please give me some pointers, thanx.
-
Running 2 MFC apps in one WindowThanx Im looking into your suggestions.
-
Running 2 MFC apps in one WindowI want to know how I would be able to run 2 or more MFC apps within one single MFC Window. The purpose of doing this is to enable the user to run one or more MDI applications in one single Window. The user should be able to select or attach other MFC applications ( all of which are MDI Window applications ) at initialisation. Once he selects the front ends, the parent application should find the executable files of the selected apps and then launch the child windows of those apps, within its own primary Window. My question is, how would this be possible ? I have heard that .net allows you to host MFC apps within its own, but I do not intend to work on .net solutions. Ive heard OLE is a suitable workaround for this too, but is there any easier approach ? thanx in advance, looking forward to a prompt reply.
-
A tab control with a Close (x) button for each Tab ?I cud use the method uve mentioned but the problem is that the OnPaint method does not give any information as to where the painting is goin to occur and wat the control state is like. In contrast the Owner Drawing gives a lot of information. If i used the OnPaint method i would be painting close buttons everywhere on the tab control ( Ive no control over where the painting is gonna happen ).
-
A tab control with a Close (x) button for each Tab ?Ive managed to get a close Button inside the tab control. I did this using the UxTheme library and requesting it to paint a close button on the tab. But once I set it to TCS_OWNERDRAWFIXED the problem is that the control is not drawn fully and only the button gets drawn. How can I ask Windows to paint the rest of the control for me. In Custom Draw you are able to request the control to send only "important" messages to u and let windows handle the rest itself. Why isnt this possible in Owner Drawn controls ?
-
A tab control with a Close (x) button for each Tab ?thanx for the quick responses, I had a fair hunch that this wud hav to deal with OWNER DRAWING. What Im fearing now is the possibility of having my Tab Control supporting the Windows XP themes. I have seen an article on CP that shows how to draw Windows Theming on OWNER DRAWN controls. Rather than having to learn how to OWNER DRAW windows XP themes, is it possible for me to ask the Tab Control to paint itself using Windows Theming, and then allow me to paint the Close button only ? Or is it that I have to do the full tab painting since I require Windows XP theming on the Tab Control ? thanx :)
-
A tab control with a Close (x) button for each Tab ?Hi, I want my MFC application to hav a tab control that would sport a close button on each tab just like in the new Firefox 2.0 and IE 7.0. Could you please giv me some starters or any hints on how to achieve this ? thanx a lot ! Eraj
-
How to mimic the Windows XP Welcome Screen in MFC ?No no, my question is not regarding the Welcome Screen itself. But rather the control with the Username and Password field together, which lightens up when not focused, and darkens when in focus. In other words, Im only worried about creating the control for showing the Username and the Password field for each user, that would have a similar look and feel to that of the XP login. I jus want to animate the controls that way. I would hold all these individual Username/Password combo controls in a CDialog. Its jus the animation of the controls Im really worried about and have no clue of !
-
How to mimic the Windows XP Welcome Screen in MFC ?Hi I would like to create a Login Screen that would mimic the Windows XP Welcome Screen. Typically my app would handle many users on a single machine. Therefore the Login screen should show several usernames with edit boxes for their passwords. When a user needs to login, she should be able to navigate through the list of usernames in the Screen just like in the Win XP Welcome Screen and select the required username and enter the password. My que is, how do I animate the controls to mimic the Windows XP Welcome Screen and also what controls should I use ( CWnd / CDialog ) to best achieve this ? thanx , expecting a quick reply. Eraj.
-
How to Insert a CButton into a CListControl ? [modified]Well I got this need to have a CListControl that should have a button in a given column ( Not all columns ). When this button is clicked I should catch the event and throw some actions, such as opening a dialog etc. My question is how do I insert a CButton to a CListCtrl ? I tried
CRect r; GetSubItemRect(r)
and creating the button in this rect. But the problem is that the button doesnt get erased / painted nicely when the columns are resized. Please tell me how I could hav the Button resize / reposition when the List Control or its columns are resized. ... Or if there are any other easy ways to get the job done ! thanx a lot :) -- modified at 3:26 Thursday 25th January, 2007 -
How do I have a "Splitter Functionality" without using CSplitterWind ? [modified]Hey Mark, Im quite new to MFC and this is kinda my first serious app that I was asked to do to get myself acquainted with it. So right now, although I understand the technique that you are suggesting, I am pretty clueless as to how Im gonna implement it ( for example : how to draw bars between adjacent windows, enabling them to be user dragged etc ). I am not askin for code snippets or anything like that... All I need is jus a brief description of what type of controls would be needed, what MFC classes Ill have to bring in and any specific events that I mite need to handle. If you could give me that I can reference the MSDN and try it out. hopin to hear from you soon. Eraj
-
How do I have a "Splitter Functionality" without using CSplitterWind ? [modified]Hello everyone, Im creating an MFC app ( an SDI one ) that uses an explorer style User Interface. There are 3 "panes" in the Child View. All 3 of these "panes" are sized programmatically and are laid horizontally inside the Child View of the Main Frame. The "panes" are literally CWnd objects and are not CDialogs. What I want is to have a splitter functionality that is quite similar to Visual Studio 2005 where the cursor icon changes to a "splitter sizing icon" when the mouse pointer hovers above the edges of two adjacent panes. And once you click on the edge of one of these panes, it should let the user drag and size up the panes dynamically.... jus like what happens in Visual Studio 2005. How do I achieve this functionality without using a CSplitterWindow ? Cos I heard from one of ma colleagues say that u dont always need a CSplitterWindow to implement a Splitter functionality. Is it possible ? Please do give me some hints or advice and I will follow up your suggestions on MSDN and the like... thanx a lot.. wishing u all a happy new year with loads of fun coding ! :D Eraj -- modified at 0:39 Sunday 31st December, 2006
-
Help !!! Cannot install Visual Studio 6Help me please, cos there's no help on the web either for this topic. The platform is Windows XP service pack 2. I have installed VS.Net 2003 and several other compilers such as Metrowerks CodeWarrior for Symbian OS C++, Symbian OS SDK.... and that's all. Well also the SDKs for Java and J2EE. But Im baffled, when I try to install from the Hard drive it goes into the installer but fails to go beyond " Searching for installed components ". Why is this happening ? I tried several times but failed. I even uninstalled the Metrowerks compiler hoping that there might be some dependencies, but that doesnt work either. I didnt remove VS.Net yet cos I dont want to go thru the trouble of reinstalling it again. What do u suggest I should do. P.S. A month back I tried installing VS6 from a CD. But I think the CD was corrupt, since the installation went fine, except for copying certain files. However the installation aborted cos these files were corrupt. Im jus thinkin, if that "half installation" could have effects on this strange behaviour.
-
A program to monitor web pages/sites as and when u visit them...The application I have in mind, has to sit in the background of Windows ( lets say as a Windows Service or a Taskbar app ) and scan for all the web pages that the user downloads and views using any Web Browser. Well this is only part of the application, actually the main thing, to scan for all the web pages the user visits on any browser and then process them for a certain task. So my question is, is it possible ? I mean isnt it the way Spyware and Adware runs ? But I think adware and spyware is browser dependaant and come as a plugin. Well I want it to be browser independent so thats why I suggested running the app in the background as a Windows Service or as a taskbar app. I tried searching on the web for looking some similar projects but didnt come across any. Could u give me some leads as to how i should achieve this ? I dont mind the programmin language I get to use. Im okay with .net or pure C++.
-
how do I program Outlook EXPRESS 6 ?Hi everyone, I am hoping to build a C# application that would interact with Outlook Express 6 and xtract attatchments under my identity to a specific folder. In between this process it would have to check if the attatchment is already saved in the folder, but those tasks would be possible with the IO classes of the .NET framewrk. But how about getting into the Outlook program ? How do I handle that ? Is there a COM object that ships with OE6 or are there free .NET libraries to access OE's object model ? I searched the web and all i could find was code snippets and articles relating to the office version of Outlook. Please explain how i should handle this solution or give me some links to any web resources. Thanx a lot !
-
"Setup-Wizard-like" layout manager in C# ?Thank you very much guys ! I looked up the Magic Wizard code project. I think thats more inline with my requirement. I actually do not hav the time to go thru it now, but when i get back home Ill take a look at it and say how well it suits my purpose, as well as .NET's work around for such a situation. And also, it jus struck me that my original solution ( the panel collection ) is not that feasible, cos it would take up some memory overhead wudn't it ? Thanx again guys , sorry for this late and hasty response. :)