Here’s pretty much the example you were asking for (except not of a building or a house!). This is very similar to the effort of taks above, with perhaps a bit more ability to compare resolution effects.
I shot one of my resolution test charts with my K-3 and the Pentax-DA 18-135mm, first at 135 mm focal length, with the chart nearly filling the frame (from around 20 feet away). Then, from that same position zooming out to 36 mm (I tried to set 35 mm, but missed by a millimeter! - that won’t make much difference here).
Then I zoomed into the middle of the chart for both frames with Photoshop Elements and cropped the same area (field of view).
Here is the full frame image with the lens at 135 mm. The blue box in the middle shows the cropped area for the next image.
And, here is the cropped area. In the original (before Forum downsizing; If you want originals, please PM me) you can easily see that the 9 resolution line pairs at top center are readily resolved all the way down to what would be 2000 line pairs if the chart was photographed at proper size. The original pixel size of this image is 1522 by 746, or about 1.14 megapixels.
Now, here is the full frame with the lens set to 36 mm (please excuse the unkempt bed sheets!). Again, the blue box shows the (much smaller!) cropped area. Not that the total size (width and height) of the crop box is a much smaller fraction of the total width/height of the frame.
And, finally, here is the cropped area from the center of the 36mm frame. Now, you can barely resolve the 9 lines at their low-resolution end (slightly more than 600 line pairs, versus the more than 2000 apparent in the 135 mm frame). The pixel size of this image is only 445 by 218 (and shown with no Forum re-sizing!), just 97 kilo (not mega!) pixels. That is a total pixel count that is only 8.5 percent of the crop from the 135 mm frame.
As has been explained above, when you zoom in to crop, you are using fewer pixels out of the original frame. Cropping does not “make” new pixels! The farther you have to zoom in, the more pixels (in a fractional sense) you loose.