Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

dipuks

@dipuks
About
Posts
93
Topics
54
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Open web page from C# WinForms
    D dipuks

    Hey Guys, I want to write a C# WinForms application, which on clicking a button will go to a particular web page and input the user name and password correctly. Once this step is done, it will go to the inbox and here i want to click a button. All this needs to be done with the web page in hidden mode. For eg, Go to mail.yahoo.com and correctly enter the user name and password. Now it should click on the "Delete" button in my inbox. Is it possible? Any sample code is welcome. Thanks in advance

    C# csharp winforms com question

  • MonthCalendar Usage
    D dipuks

    Hey guys, I have a Form1 with a text box in it. When user clicks inside the text box it will pop up Form2 which has a MonthCalendar in it. Now after the user selects a date and click OK on Form2, i want that selected date string to be displayed in the Form1 text box. How can i get the Form2 date string to be displayed in Form1 text box? Thanks in advance.

    C# question

  • Time Sheet software
    D dipuks

    That one is for a website. I am thinking about something using C# Win Forms. A desktop application runnning on Windows.

    C# help tutorial

  • Time Sheet software
    D dipuks

    Hey Guys, I am trying to develop a software which will keep track of time and date that someone worked for a week. So obviously it should be in some sort of DataGrid format with option to select data and time. I am curious to know whether there's any sample code on this that i can use. If not, some help on how to use or sample code about DaatGrid and how that could be changed to have columns for data and time. Thanks in advance.

    C# help tutorial

  • Routing Enter/Return key press to a Dialog
    D dipuks

    Yes i want to do this, as this is just a sample app. What kinda keyboard hooks? Any particular function that i can use? Any example code?

    C / C++ / MFC c++ question

  • Routing Enter/Return key press to a Dialog
    D dipuks

    Hey I have a MFC dialog app that will process the Enter/Return key presses in the keyboard. Now if the dialog is minimized or hidden behind some other window, it will not be able to process the Return key presses. Which makes sense considering the keyboard messages are routed to the window with focus. I want to route all Return/Enter key presses to my MFC dialog irrespective of whether its hidden or minimized. Is there a way i can do that? Thanks in advance.

    C / C++ / MFC c++ question

  • Using SetFocus() in a push button.
    D dipuks

    Finally i got this working. What i did was, do a SetFocus(ParentWindow) and then do a SetFocus(ChildWindow) on this order and it worked just fine.

    C / C++ / MFC c++ question

  • Using SetFocus() in a push button.
    D dipuks

    That's not working

    C / C++ / MFC c++ question

  • Using SetFocus() in a push button.
    D dipuks

    Hey I have a C++ WIN32 app having a dialog with 5 buttons. Now i want to call the SetFocus() function to set the focus on each buttons. The focus does get set in a way, i.e., if i press the space key in key board, it will infact click the button to which the SetFocus() function was set. But visually it doesn't work. i.e., it doesn't draw a blue border on the button giving it a visual feel that the button has focus on it. Why is this happening? Is there a way to have SetFocus() draw the blue border along the button? If i open a windows folder on top of it, it will draw the blue border along the button that was called with SetFocus() function. Thanks in advance.

    C / C++ / MFC c++ question

  • Making the Disk Defragmenter a Modal dialog
    D dipuks

    Hey I am opening the Disk Defragmenter from inside my C++ WIN32 app using the ShellExecuteEx function. Now i want to make sure that the Disk Defragmenter is a modal dialog, so that User is not able to click any part of my app. I set one window to EnableWindow(FALSE), but there are other frame windows which can be clicked by User and then the Disk Defragmenter will go hiding or to back ground. Is there one generic way of making the Disk Defragmenter a modal window so that nothing else on the back ground can be clicked? From the ShellExecuteEx function, i can get the process handle to Disk Defragmenter. Thanks in advance.

    C / C++ / MFC c++ question

  • Opening Disk Defragmenter from inside a WIN32 app [modified]
    D dipuks

    Thank you guys.....i Did it!

    C / C++ / MFC tutorial

  • Opening Disk Defragmenter from inside a WIN32 app [modified]
    D dipuks

    Hey If i am right CreateProcess() function can't be used in this case, as Disk Defragmenter needs Admin privilages to open. Please explain me how to do this. Thanks in advance.

    modified on Wednesday, March 2, 2011 6:36 PM

    C / C++ / MFC tutorial

  • Using DeleteVolumeMountPoint function.
    D dipuks

    Hey Sauro, That worked awesome! Thanks a lot. :-)

    C / C++ / MFC help tutorial question

  • Using DeleteVolumeMountPoint function.
    D dipuks

    Hey I used DeleteVolumeMountPoint function to remove a USB drive (E:) from my machine. Now i want to bring that back. I tried re-booting and that doesn't seems to help. I think calling SetVolumeMountPoint function will bring it back. But that function needs the GUID of USB drive, which i don't have. Any ideas how to get the USB drive(volume - E:\) back? Can i do that via regedit? If so, how? THanks in advance

    C / C++ / MFC help tutorial question

  • bool & BOOL
    D dipuks

    Hey Can anyone tell me, whats the difference between if any, of using a bool and a BOOL?

    C / C++ / MFC question

  • Multiple #define with same name
    D dipuks

    What will happen if there are mutiple #define with same name? For eg: in one file there is, #define MY_NAME 1 and in another file, #define MY_NAME 3 I have seen that the compiler gives a warning for this. But what will be the value of "MY_NAME" when it is used? is it 1 or 3?

    C / C++ / MFC question

  • Combo box droplist selection
    D dipuks

    Is it possible to get the selected item of a combo box while navigating the drop list? i.e., getting the selected items value and text? Is there a Windows message that handles the mouse selection of each item in combo drop list? This is when the combo box drop down is active.

    C / C++ / MFC question

  • Combo box - Dropdown height?
    D dipuks

    Ok i read your last reply. Ok so here's the trick...... the combo box will have technically 2 items, of which the 1st will be a empty item and then a string item. The reason why the 1st one is an empty item is, because thats the default one. So by default the application will not have any selection in the combo unless user makes a selection. So basically there are 2 items and the vertical scroll bar as of now is very very small and its difficult to do a touch screen scroll, even though it works fine with mouse.

    C / C++ / MFC question

  • Combo box - Dropdown height?
    D dipuks

    Cedric, If there are multiple items, it does show a longer vertical scroll bar and thats not the problem. The problem is when there's only 1 item. At that time, the default Windows thing sets the vertical scroll bar height to a set length so that the one item is visible. And this works perfect, and the user can always use the mouse pointer to select. But the issue that am facing is, the application am using will take input from a touch screen. So when using touch screen the smaller vertical scroll bar is an issue. Hope you undertand the issue. Thats the reason why i need a longer vertical scroll bar. Any ideas?

    C / C++ / MFC question

  • Combo box - Dropdown height?
    D dipuks

    Hi Is there a way of setting the height of vertical scroll bar in a Combo box? i.e, dropdown height? i.e., even if there's only one item in the Combo, is it possible to set the height of vertical scroll bar? What i have seen is, if there's only one item, the vertical scroll bar is very small or not at all scrolable. I would like to set it a little longer so that its scrollable. Thanks

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups