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
A

Aamol M

@Aamol M
About
Posts
15
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to set filter property through code without popping up property page
    A Aamol M

    Hi, I am using Video over IP Source filter. I have built a graph. I wanted to set this video source filters "HostName" to some IP address and connect to that IP address. Does anyone know "How to set filter property through code without popping up property page" Thanks :)

    AmolM

    Graphics data-structures tutorial

  • Activex + Network Credentials
    A Aamol M

    I am using activex in VC application. It has some connect method which takes User Name and passwords. When I give user name and password of remote machine or network machine. Connect fucntion gives error : "Invalid Network Credentials". Does anyone came across this or know what I have to set to by pass this network credentials problem. Thanks in advance :)

    AmolM

    C / C++ / MFC help com sysadmin

  • CDatabase - Knowing table count and table names from database.
    A Aamol M

    VC++ 6.0 I am using CDatabase - for opening MDB file. Does anyone knows anything that will give me number of tables present into databse with their names? Thanks in advance :)

    AmolM

    C / C++ / MFC c++ database question

  • Timer in DLL
    A Aamol M

    I have win32 dll. I wanted to have Timer in this so that I can call a function after some time and kill that timer. Is it possible? How? Thanks,

    AmolM

    C / C++ / MFC question

  • DialogBar problem
    A Aamol M

    Yes. You are right.... Here it is nothing to do with resizing the dialogbar. Its perfectly acceptable that the controls and dialogbar remains as is regardless of application size. I have only 3 bitmaps to show on dialogbar. I hv handled OnLButtonClick for DialogBar by not calling default LButton event and now I can only handle moving of it (blocking of MOVE)from DialogBar. But when I click on CaptionBar of dialogBar then event doesnt come for LButtonDown() in DialogBar class. So if I can know "When I click on CaptionBar of DialogBar then where shd I get message (in MainFrame - parent of that window) or somewhere else. If that only I can figure out, then in that case I will not call default OnLButtonDown() and things shd work for me.... But I cant find where the event comes when I click on CaptionBar() of DialogBar...... Thanks :)

    AmolM

    C / C++ / MFC help question

  • DialogBar problem
    A Aamol M

    ModifyStyle() will work if I remove the caption Bar of it BUT it does not look good. AND requirement is just to make it locked without removing caption abr. Sorry. I have used SWP_NOMOVE flag for not moving the DialogBar... My problem is I want to LOCK the positions in one case and unlock the positions (user can move it anywhere in other case. But what should I override in my class??? I handled OnMove(), OnSize() every other meaage in DialogBar class but it doesnt come there at any time. Is there anything I get notified in CMainFrm OR myDialogBar class that dialogBar is about to move.... I also handled WM_CAPUTRECHANGED message in DialogBar class. Control comes here when I release the capture from that dialogBar. But even at this time I call FloatControlBar() to some fixed position then also it doesnt work. I have read somewhwre that DialogBar notification are sent to the parent window. In this case CMainFrm. But I didnt get it. In CalcDynamicSize() handler of Dialogbar class, control comes here when we even click on caption bar of it. But there also I cant do anything to set the positions to default. I have uesed FloatControlBar() here.

    AmolM

    C / C++ / MFC help question

  • DialogBar problem
    A Aamol M

    I have a class derived from CDialogBar. I create it in CMainFrm::OnCreate()function. Used- EnableDocking(0) and FloatControlBar(), ShowControlBar() fuinctions to show, set poesition and set size of DialogBar. Now it works well. But in one condition (Say by clicking on some Menu) I dont want Dialogbar to be moved elsewhere. Meaning positions for Dialogbar should get locked. . Again by clicking on same menu it should be moved anywhere. This is the requirement. Now I tryed everything for making it FIXED at one place with OnMOve() for dialogBar. With SetWindowpos() function. For SetWindowPos() I tryed last flag parameter to be NORESIZE but it didnt worked. To confirm that this function works I tryed SWP_HIDEWINDOW then it hides the window. Is there any way that I can toggle between FIXED position mode and Moving mode for Dialogbar??? Parametrs passed to create of Dialogbar CBRS_BOTTOM | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC, Is there any message I can get in MainFrame when I am resizing the DialogBar...

    AmolM

    C / C++ / MFC help question

  • CListCtrl Selection of Item Problem
    A Aamol M

    Sorry, but I didnt find any message like OnSelChangeListCtrl() for CListCtrl. I have captured 1) OnItemchangedList1() and 2) OnItemchangingList1() And the scenario was like the problem I posted.... I just can get the item selected or not :( Sequence of message is like 1) Previous item de-selected and 2) Current Item Selected ==> in case item is selected... Otherwise only 1st message.... if item is not selected (Clicked on empty area) Any Commments on this... Thanks for previous reply Thanks in Advance :)

    AmolM

    C / C++ / MFC c++ database help question

  • CListCtrl Selection of Item Problem
    A Aamol M

    Problem- When I click on the empty space after any item or after all items then the current item selection goes away and I have no way to highlight previous item. (Though I have pervious selected item index). This is beacuse when item is selected MFC gives us two messages 1. Pervious Item Deselected. 2. Current item Selected. But when we click on empty area then 1) it gives message - Item Deselected ... and there is no other message again .... So we cant track whether you get 1 or 2 message from MFC.... This is all my perception about CListCtrl behaviour Does any one have a way to this problem???? Thanks in Advance :)

    AmolM

    C / C++ / MFC c++ database help question

  • Clipping a region and moving it...
    A Aamol M

    I wanted to clip a part of image and move it to the some other point... I have a image and rectangle around it. On mouse move i want to place that image with rect to mouse position. Also I wanted to resize image as paint does....on dragging the mouse... It will be gr8 help if anyone provide me with sample code.... Thanks in Advance...

    AmolM

    C / C++ / MFC help

  • Get the information of the file which is get added/modified/deleted anywhere on computer
    A Aamol M

    Parameter 4:- bWatchSubtree "true" So it will look up in sub-folders also.

    AmolM

    C / C++ / MFC

  • Get the information of the file which is get added/modified/deleted anywhere on computer
    A Aamol M

    ReadDirectoryChangesW(hFolder, pBuffer, dwbufLen, TRUE, ...); takes first argument as "hFolder" == Name of Folder But I wanted to track whole computer (C:\,D:\E:\ etc). File can be copied, added, deleted etc anywhere on the computer (C:\,D:\E:\ ) I dont know........ :) So here what should be given as a value for "hFolder" then ???? I tried with "C:\" as argument for "hFolder" but it worked for 200-250 files and get crashed OR "NotResponding" messgae from Windows making application to close. :( But here my argument should not be C:\ or D:\ or something like that, coz I want to handle event for all of them.... So what should be done in this case..... Can u again review my question Please ???? There was again Specific requirement that only ".jpg" file should be tracked. i.e. another application can add, delete or change .jpg file anywhere on the computer (C:\, d:\, E:\ etc) I dont know..... This could be greate help if u can explain what should be done or any sort of code for it. Thanks Again for previous replies.... :) and Thanks in Advance toooo :)

    AmolM

    C / C++ / MFC

  • Get the information of the file which is get added/modified/deleted anywhere on computer
    A Aamol M

    Yes Sir, I am using "FILE_NOTIFY_INFORMATION" struct but my problem is I want to find the changed file Inforamtion that has changed ANYWHERE on computer. ReadDirectoryChangesW()takes first parameter as path - where to search. But now here I want to search for change ANYWHERE on the computer Thanks In advance...:)

    AmolM

    C / C++ / MFC

  • Get the information of the file which is get added/modified/deleted anywhere on computer
    A Aamol M

    I am using "ReadDirectoryChangesW()" and gave "C:\" as path. The file changes were so fast. It gave me output for about 200-250 notifications tentatively.... And after it "Not Responding" - "Send A report To Microsoft Dialog" Now What should I use to "Get the information of the file which is get added/modified/deleted anywhere on computer" Can I have sample code for it or something like that Thanks For Reply... :)

    AmolM

    C / C++ / MFC

  • Get the information of the file which is get added/modified/deleted anywhere on computer
    A Aamol M

    I have used ReadDirectoryChangesW with recursive for sub-folders and watched changes in "c:\". It gave me output for a while and suddenly Microsoft thrown dialog something like "Not responding".... Is their anyway to "Get the information of the file which is get added/modified/deleted anywhere on computer" Thanks In advance..... :)

    AmolM

    C / C++ / MFC
  • Login

  • Don't have an account? Register

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