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
C

crazymubashir

@crazymubashir
About
Posts
18
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What are the steps of firing Drag Drop event in a ListBox
    C crazymubashir

    Thanks for the most precise answer. There is one last problem i.e my list box also contains integer values which doesn't gets droped on the list box. The "DataFormat" has nothing which can check that the data is integer. What should i do.

    C / C++ / MFC help

  • What are the steps of firing Drag Drop event in a ListBox
    C crazymubashir

    :sigh: hi, I am trying to store the value of the drop item in CString. But the problem is the drag drop event doesn't gets fired when i drag and drop an item from one listbox to another. Need help urgently. Thanks in advance.

    C / C++ / MFC help

  • Drawing, Drag Drop Problem in custom control
    C crazymubashir

    :(( I am trying to develop a control which will be some what similar to Sql Server Relation diagram. Problems: 1. I inherited my control from a list box. Now i want to draw, but the problem comes when i draw any thing it doesn't get displayed. But when i copy paste code on a form it displays the items. Couldn't understand why it doesn't work on a control. 2. I don't know how to drop any thing on a control. I tried a simple drag drop by draging an item from a list box to my control nothing happend. need help! plz.

    C# help database sql-server graphics sysadmin

  • crystall report viewer [modified]
    C crazymubashir

    Possibilities: You don't have crystal installed in your system. if it is installed then you have to add refrences of crystal program in your application. Go to 'project'->refrences->com First select Crystal Reports Library if the programs runs succesfully. Then do your work. Other wise add all crystal refrences in the refrences dialog box.

    C# question csharp visual-studio help

  • problem with visio shape object. Can't acces 'Class' class name, fields etc.
    C crazymubashir

    Hi, i am accessing visio's objects programmatically. I am able to know that in a page how many shape are there and what type of shapes are they. Now I want is to know that class object(s) in a window posses how many properties, Method, className etc. I am able to find out the descricption of process, doc, terminator etc. info. But problem with class object is it contains data in row format. plz do reply soon.

    C# help

  • List box VScroll
    C crazymubashir

    hi Ed.Poore, I am posting this message just by reading yours, so plz hear out my problem in detail. I hope your suggestion works. Now problem i am having is when ever a user scroll down or up, some items also go up/down. Now i have to find out when user used the scroll bar of the list box, how far down/up he went. Then i can use the topIndex property to map my items as mapping is done in sql Server diagrams. I hope i did explained myself clearly. Thanks again.

    C# help

  • Help about List box VScroll
    C crazymubashir

    hi Ravi, plz tell me which method or event of the listbox will going to help me in checking the top index periodically. Hoping to get the reply soon. I will also look at the link you have mentioned. if in case it did provide me the desired result i will post the message for confirmation. Thanks.

    C# help

  • Help about List box VScroll
    C crazymubashir

    hi Ravi, plz tell me which method or event of the listbox will going to help me in checking the top index periodically. Hoping to get the reply soon. Thanks.

    C# help

  • List box VScroll
    C crazymubashir

    hi Ed, Sorry for the ambiguity in my question. Yes, I am inheriting from the listbox control. I am having the problem metioned earlier. Thanks for the reply.

    C# help

  • List box VScroll
    C crazymubashir

    :(( Hi, I am trying to build my custom listbox control. The problem i am having is that, if my list box shows 10 items and i have for suppose 20 items in it. now when a user scroll down using lstBox 'VScroll' control then my application doesn't know that the user has scroll down. Any Suggession without using "Selected IndexChange " or "Click Event" or "Key Down" Events.

    C# help

  • Help about List box VScroll
    C crazymubashir

    :(( Hi, I am trying to build my custom listbox control. The problem i am having is that, if my list box shows 10 items and i have for suppose 20 items in it. now when a user scroll down using lstBox 'VScroll' control then my application doesn't know that the user has scroll down. Any Suggession without using "Selected IndexChange " or "Click Event" or "Key Down" Events.

    C# help

  • About DirectX Video Capture
    C crazymubashir

    Dear hfry, Sorry for the delayed answer. I am posting this message to inform you that my boss has shifted me directx to C#. Now I am doing work on some other project. The answer to your question is i didn't used graphEdit to check what kind of graph i should use. Now my final question is after using graphEdit in my application will i be able to generate a captured file successfully. Because with your help i am now able to just create blank file with nothing on it. Which gives an error that ClassFactory couldn't generate xxx. I will do as you have told me and give it a last try. By the way thanks for all ur time an patience. Forever gratefull. Mubashir

    C / C++ / MFC graphics game-dev help announcement learning

  • How to read Triggers of a Database
    C crazymubashir

    hi, Sorry for the intereption. My little experience in database suggest that you should not use the MFC Database classes if you want to develop a database. Instead use the "xxado.dll" to develop your app. In the stdafx.h file write these lines include include #import "path\\xxado.dll" namespace "EOF, adoEOF" Then use ur desired objects as follows: CoInitialze(NULL); IConnectionPtr pCon; IRecordsetPtr pRes; pCon.Open(connectionstring); pRecordset.open(query,pCon ,etc); ... CoUninitialize();

    C / C++ / MFC database help tutorial

  • About DirectX Video Capture
    C crazymubashir

    Million thanks, Now it seems you have almost understood my problem. I have added the code below before the line you have mentioned and ommited it. The code below gives error when i give "renderstream" pMux Pointer. If i leave it null the code runs but video doesn't gets saved. This code is supposed to capture the live video. IBaseFilter *pMux; hr = g_pCapture->SetOutputFileName( &MEDIASUBTYPE_Avi, // Specifies AVI for the target file. L"C:\\Example.avi", // File name. &pMux, // Receives a pointer to the mux. NULL); // (Optional) Receives a pointer to the file sink. if(FAILED(hr)) { Msg(TEXT("Couldn't create save file...")); } hr = g_pCapture->RenderStream( &PIN_CATEGORY_CAPTURE, // Pin category. &MEDIATYPE_Video, // Media type. pSrcFilter, // Capture filter. NULL, // Intermediate filter (optional). pMux /*NULL*/); // Mux or file sink filter. // Release the mux filter. pMux->Release(); the code below remains as it is. // hr = g_pCapture->RenderStream( // &PIN_CATEGORY_PREVIEW, // Pin category. // &MEDIATYPE_Video, // Media type. // pSrcFilter, // Capture filter. // NULL, // Intermediate filter (optional). // NULL);

    C / C++ / MFC graphics game-dev help announcement learning

  • About DirectX Video Capture
    C crazymubashir

    :sigh: dear hfry, I didn't gave the whole code. In the paragraph it is mentioned that the "Play Cap" sample code which comes with dx9 SDK helped me develop some understanding of video capture. Now if you have seen the Source Code of "Play Cap" you will understand where in between that code i have inserted these lines. I have mention that after the line "g_pCapture->AddFilter()". Which you will find in the Funtion VideoCapture() "(Play Cap)" Source code. If even then you need the code then i will write the code for you. Thanks for the reply.

    C / C++ / MFC graphics game-dev help announcement learning

  • About DirectX Video Capture
    C crazymubashir

    :(( Hey, I am having trouble capturing video from my pc cammera. The directx SDK directshow sample "Play Cap" have developed my previewing skills. But capturing is not going so well. In the DX9 Book it is said that just by making some minor changes in the ICaptureBuilderGraph2::RenderStream() we developers be able to capture live video. But thats not happening. In the "Play Cap" sample code when i do this minor changes as told it raises an error. //After g_pCapture->AddFilter(pSrcFilter); IBaseFilter *pMux; hr = g_Capture->SetOutPutFileName(&MEDIASUBTYPE_Avi, L"C:\\Test.avi", &pMux, NULL); hr = g_Capture->RenderStream(&PIN_CATEGORY_CAPTURE, &MEDIATYPE_Avi, pSrcFilter, NULL, pMux /*NULL*/); pMux->Release(); pSrcFilter->Release(); hr = setupVideoWindow(); // Raises an error at the first line // if i leave the renderstream last variable NULL then the program runs // succesfully. But capturing doesn't takes place.

    C / C++ / MFC graphics game-dev help announcement learning

  • How to open Crystal Report file
    C crazymubashir

    I am using crystal report 9 to generate reports. The problem is that i have never used crystal report. The so called tutorial which came with crystal report is of no good because it gives an error on the line which says m_Report = m_Application->NewReport(); error: Creation feature not available. Please tell me just how can i view an existing crystal report in VC and how can i perfor filtering on it through Visual C code or is there any suggestion to the above problem.:wtf:

    C / C++ / MFC help tutorial question

  • How I Can use 1 document which can be accessed by multiple views in SDI app.
    C crazymubashir

    Hi There, I want to know how I can support multiple ‘FormViews’ by having a single ‘Document’ class in my ‘SDI’ Application. The class which ‘MFC Wizard’ makes it for us supports the document. But the additional ‘FormViews’ which I put in doesn’t have access to the ‘Documents’ variables. The code which I tried my self are as follows: These are the additional or the ‘Nth’ classes Class CSection : public CFormView { … }; void CSection:: OnInitUpdate(void) { CMyDoc* pDoc = (CMyDoc*) GetDocument(); This code works in an SDI application in which classes are derived from ‘CRecordView’. } void CCourse:: OnInitUpdate(void) { CMyDoc* pDoc = reinterpret_cast (GetDocument()); }

    C / C++ / MFC c++
  • Login

  • Don't have an account? Register

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